Skip to content

Commit

Permalink
fix c&p errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-manzi committed Sep 11, 2024
1 parent fbd44bf commit aaf8707
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/storage_probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def metricPut(args, io):
if er:
io.summary = "Error copying to %s, [Err:%s]" % (str(dest_file), str(er))
else:
io.summary = "Error copying to %s" % str(dest_file)"
io.summary = "Error copying to %s" % str(dest_file)
except Exception as e:
io.set_status(
nap.CRITICAL,
Expand Down Expand Up @@ -201,9 +201,9 @@ def metricLs(args, io):
er = e.message
io.status = nap.CRITICAL
if er:
io.summary = "Error listing file: %s,[Err:%s];" % (str(url),str(er))"
io.summary = "Error listing file: %s,[Err:%s];" % (str(url),str(er))
else:
io.summary = "Error listing file: %s" % str(url)"
io.summary = "Error listing file: %s" % str(url)

except Exception as e:
io.set_status(
Expand Down

0 comments on commit aaf8707

Please sign in to comment.