Using interface name in kubectl plugin
In Rocky we've changed format of Pod annotations. Adding the new format in kubectl plugin Change-Id: I8933d331b15ccb7b0fa33b796537b26112bf8cf0
This commit is contained in:
parent
a41ec9ef92
commit
18e37d5e13
@ -132,6 +132,7 @@ def vifs(session, server, namespace, args):
|
||||
else:
|
||||
vif = json.loads(vif)
|
||||
|
||||
vif = vif.get('eth0', vif)
|
||||
network = (vif['versioned_object.data']['network']
|
||||
['versioned_object.data'])
|
||||
first_subnet = (network['subnets']['versioned_object.data']
|
||||
|
Loading…
Reference in New Issue
Block a user