wp-cloud-deploy icon indicating copy to clipboard operation
wp-cloud-deploy copied to clipboard

Use the IP from the Server Post if available

Open batonac opened this issue 1 year ago • 2 comments

Instead of loading the provider API, the IP address can be called directly from the post meta in most cases.

batonac avatar Jul 14 '23 21:07 batonac

@batonac - Curious - what's the purpose for this change? Is it a performance optimization change or to fix a bug you encountered?

elindydotcom avatar Jul 14 '23 22:07 elindydotcom

It's a bug workaround, truthfully, since the Proxmox API provider suddenly stopped working with the existing IP address retrieval code. I haven't had time to diagnose the issue yet, but I felt like submitting this change since it seems it could be justified on the basis of a performance optimization.

batonac avatar Jul 14 '23 22:07 batonac