Commit aed242ed authored by Chris Merrett's avatar Chris Merrett

Converted DEFAULT_RETENTION_DAYS env var to an integer

parent c1563701
Pipeline #961 passed with stage
in 6 seconds
...@@ -10,7 +10,7 @@ deletion after a number of retention days. ...@@ -10,7 +10,7 @@ deletion after a number of retention days.
""" """
MIN_RETENTION_COUNT = int(os.environ['MIN_RETENTION_COUNT']) MIN_RETENTION_COUNT = int(os.environ['MIN_RETENTION_COUNT'])
RETENTION_DAYS_DEFAULT = os.environ['DEFAULT_RETENTION_DAYS'] RETENTION_DAYS_DEFAULT = int(os.environ['DEFAULT_RETENTION_DAYS'])
SNAPSHOT_TAG = os.environ['SNAPSHOT_TAG'] SNAPSHOT_TAG = os.environ['SNAPSHOT_TAG']
RETENTION_TAG = os.environ['RETENTION_TAG'] RETENTION_TAG = os.environ['RETENTION_TAG']
DELETE_TAG = os.environ['DELETE_TAG'] DELETE_TAG = os.environ['DELETE_TAG']
......
No preview for this file type
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