Skip to content

Commit 41d57ce

Browse files
committed
Fix pod_id -> pod_ip
1 parent 9a4c69f commit 41d57ce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/dstack/_internal/core/backends/kubernetes

src/dstack/_internal/core/backends/kubernetes/compute.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,10 @@ def update_provisioning_data(
360360
name=provisioning_data.instance_id,
361361
namespace=self.config.namespace,
362362
)
363-
pod_id = get_value(pod, ".status.pod_ip", str)
364-
if not pod_id:
363+
pod_ip = get_value(pod, ".status.pod_ip", str)
364+
if not pod_ip:
365365
return
366-
provisioning_data.internal_ip = pod_id
366+
provisioning_data.internal_ip = pod_ip
367367
service = call_api_method(
368368
self.api.read_namespaced_service,
369369
client.V1Service,

0 commit comments

Comments
 (0)