Merge "Fix is_host_network()"

This commit is contained in:
Zuul 2020-10-12 13:43:10 +00:00 committed by Gerrit Code Review
commit 322c3f4b7e
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ def get_vifs(pod):
def is_host_network(pod): def is_host_network(pod):
return pod['status'].get('hostNetwork', False) return pod['spec'].get('hostNetwork', False)
def get_pods(selector, namespace=None): def get_pods(selector, namespace=None):