Loading check_s3_bucket/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ def main(): exit(2) # Calculate the age of the latest file and if it's in the thresholds set. if files[0]["HoursSinceLastModified"] > NOW: if files[0]["LastModified"] > NOW: print("Latest file is from the future, something is wrong.") exit(3) timedelta = files[0]["HoursSinceLastModified"] Loading Loading
check_s3_bucket/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ def main(): exit(2) # Calculate the age of the latest file and if it's in the thresholds set. if files[0]["HoursSinceLastModified"] > NOW: if files[0]["LastModified"] > NOW: print("Latest file is from the future, something is wrong.") exit(3) timedelta = files[0]["HoursSinceLastModified"] Loading