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/s3p/collector/get_resource_stats.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/s3p/collector') diff --git a/test/s3p/collector/get_resource_stats.py b/test/s3p/collector/get_resource_stats.py index 8ad22c575..aca2514c8 100755 --- a/test/s3p/collector/get_resource_stats.py +++ b/test/s3p/collector/get_resource_stats.py @@ -20,7 +20,7 @@ AAI2_IP = "10.0.1.2" SO_IP = "10.0.5.1" SDNC_IP = "10.0.7.1" -def aai1(): +def aai1(): containers = docker_util.get_container_list(AAI1_IP) run(AAI1_NAME, AAI1_IP, containers) @@ -39,7 +39,7 @@ def sdnc(): def run(component, ip, containers): cmd = ["ssh", "-i", "onap_dev"] cmd.append("ubuntu@" + ip) - cmd.append("sudo docker stats --no-stream") + cmd.append("sudo docker stats --no-stream") for c in containers: cmd.append(c) ssh = subprocess.Popen(cmd, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE) @@ -80,7 +80,7 @@ def get_memory_number(s): return f file = open("resource.log", "w+") -while True: +while True: so() sdnc() aai1() -- cgit 1.2.3-korg