Skip to content

Commit c8d1682

Browse files
committed
Fixed a minor typo.
1 parent 018d878 commit c8d1682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Monitoring/monitor-ontap-services/monitor_ontap_services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ def processStorageUtilization(service):
614614
if response.status == 200:
615615
data = json.loads(response.data)
616616
for aggr in data["records"]:
617-
if (aggr["space"]["block_storage"]["used_percent"] >= rule[key]:
617+
if aggr["space"]["block_storage"]["used_percent"] >= rule[key]:
618618
uniqueIdentifier = aggr["uuid"] + "_" + key
619619
if not eventExist(events, uniqueIdentifier): # This resets the "refresh" field if found.
620620
alertType = 'Warning' if lkey == "aggrwarnpercentused" else 'Critical'

0 commit comments

Comments
 (0)