We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a4c69f commit 41d57ceCopy full SHA for 41d57ce
1 file changed
src/dstack/_internal/core/backends/kubernetes/compute.py
@@ -360,10 +360,10 @@ def update_provisioning_data(
360
name=provisioning_data.instance_id,
361
namespace=self.config.namespace,
362
)
363
- pod_id = get_value(pod, ".status.pod_ip", str)
364
- if not pod_id:
+ pod_ip = get_value(pod, ".status.pod_ip", str)
+ if not pod_ip:
365
return
366
- provisioning_data.internal_ip = pod_id
+ provisioning_data.internal_ip = pod_ip
367
service = call_api_method(
368
self.api.read_namespaced_service,
369
client.V1Service,
0 commit comments