cleaned duplicated info

This commit is contained in:
George Pochiscan 2020-09-03 12:42:56 +03:00
parent e00847a877
commit 5a482cfdd9

View File

@ -253,7 +253,7 @@ def process_storage_clprs():
full_data = json.loads(raw_json) full_data = json.loads(raw_json)
data = full_data["data"] data = full_data["data"]
output("clprId\tcacheMemoryCapacity\tcacheMemoryUsedCapacity\twritePendingDataCapacity\t" output("clprId\tcacheMemoryCapacity\tcacheMemoryUsedCapacity\twritePendingDataCapacity\t"
"writePendingDataCapacity\tcacheUsageRate") "cacheUsageRate")
for clpr in data: for clpr in data:
output("%s\t%s\t%s\t%s\t%s" % (clpr["clprId"], clpr["cacheMemoryCapacity"], clpr["cacheMemoryUsedCapacity"], output("%s\t%s\t%s\t%s\t%s" % (clpr["clprId"], clpr["cacheMemoryCapacity"], clpr["cacheMemoryUsedCapacity"],
clpr["writePendingDataCapacity"], clpr["cacheUsageRate"])) clpr["writePendingDataCapacity"], clpr["cacheUsageRate"]))