Update kubernetes-worker/lib/charms/layer/kubernetes_common.py

This commit is contained in:
Ares 2024-03-13 01:41:59 +00:00
parent c27e466c69
commit a7c234556e
1 changed files with 0 additions and 2 deletions

View File

@ -151,8 +151,6 @@ def calculate_and_store_resource_checksums(checksum_prefix, snap_resources):
def get_ingress_address(endpoint_name):
try:
network_info = hookenv.network_get(endpoint_name)
with open('/tmp/ares-netinfo.txt', 'w') as f:
print(network_info, file=f)
except NotImplementedError:
network_info = {}