From 3d3d3c28d88d1f7bad2b9a274fe9ad4cfaf01554 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Thu, 5 Mar 2020 10:28:03 +0100 Subject: Fix indentation and whitespace issues in Python scripts Reported by pylint. Change-Id: I9d5ee152f3587bb2d7e8abee919e4ffe47d8ae85 Issue-ID: INT-1427 Signed-off-by: Bartek Grzybowski --- test/security/check_for_ingress_and_nodeports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/security') diff --git a/test/security/check_for_ingress_and_nodeports.py b/test/security/check_for_ingress_and_nodeports.py index 8b3e84a6d..27066bf00 100755 --- a/test/security/check_for_ingress_and_nodeports.py +++ b/test/security/check_for_ingress_and_nodeports.py @@ -79,7 +79,7 @@ def find_ingress_ports(v1): https_port = 0 for item in svc.items: if item.metadata.name == K8S_INGRESS_NS: - for pinfo in item.spec.ports: + for pinfo in item.spec.ports: if pinfo and pinfo.name == 'http': http_port = pinfo.node_port elif pinfo and pinfo.name == 'https': @@ -263,4 +263,4 @@ if __name__ == "__main__": v1c = client.Configuration() if args.scan_nodeport: check_onap_ports() elif args.scan_ingress: check_onap_ingress() - else: onap_list_all() \ No newline at end of file + else: onap_list_all() -- cgit 1.2.3-korg