diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-03-05 10:28:03 +0100 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2020-03-05 15:26:40 +0000 |
commit | 3d3d3c28d88d1f7bad2b9a274fe9ad4cfaf01554 (patch) | |
tree | 2f33b3f16289d8555173f011737d611515e7541b /test/security | |
parent | 5d8a1df2dbfd99fa87e792c584ac220187c9928e (diff) |
Fix indentation and whitespace issues in Python scripts
Reported by pylint.
Change-Id: I9d5ee152f3587bb2d7e8abee919e4ffe47d8ae85
Issue-ID: INT-1427
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/security')
-rwxr-xr-x | test/security/check_for_ingress_and_nodeports.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |