Merge "Fix is_host_network()"
This commit is contained in:
commit
322c3f4b7e
|
@ -80,7 +80,7 @@ def get_vifs(pod):
|
|||
|
||||
|
||||
def is_host_network(pod):
|
||||
return pod['status'].get('hostNetwork', False)
|
||||
return pod['spec'].get('hostNetwork', False)
|
||||
|
||||
|
||||
def get_pods(selector, namespace=None):
|
||||
|
|
Loading…
Reference in New Issue