You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This function is used to check SnapMirror relationships.
@@ -960,8 +960,8 @@ Resources:
960
960
if lagSeconds > rule["maxLagTime"]:
961
961
uniqueIdentifier = record["uuid"] + "_" + key
962
962
if not eventExist(events, uniqueIdentifier): # This resets the "refresh" field if found.
963
-
str = lagTimeStr(lagSeconds)
964
-
message = f'Snapmirror Lag Alert: {sourceClusterName}::{record["source"]["path"]} -> {clusterName}::{record["destination"]["path"]} has a lag time of {lagSeconds} seconds or {str}.'
963
+
timStr = lagTimeStr(lagSeconds)
964
+
message = f'Snapmirror Lag Alert: {sourceClusterName}::{record["source"]["path"]} -> {clusterName}::{record["destination"]["path"]} has a lag time of {lagSeconds} seconds or {timStr}.'
0 commit comments