Add proper logger when skipping a partition

parent 6d80e988
......@@ -732,6 +732,7 @@ class Slapgrid(object):
if int(timestamp) <= int(old_timestamp):
if int(time.time()) <= (
last_runtime + periodicity) :
self.logger.info('Partition already up-to-date, skipping.')
return
except ValueError:
os.remove(timestamp_path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment