Merge pull request #3344 from quay/tag-backfill-legacy-tags-fix
Fix a bug in the tag backfill that prevented copying lifetime_start_ts when it is zero
This commit is contained in:
commit
6d7b113ca0
1 changed files with 2 additions and 2 deletions
|
@ -181,9 +181,9 @@ def backfill_tag(repositorytag):
|
|||
return False
|
||||
|
||||
lifetime_start_ms = (repositorytag.lifetime_start_ts * 1000
|
||||
if repositorytag.lifetime_start_ts else None)
|
||||
if repositorytag.lifetime_start_ts is not None else None)
|
||||
lifetime_end_ms = (repositorytag.lifetime_end_ts * 1000
|
||||
if repositorytag.lifetime_end_ts else None)
|
||||
if repositorytag.lifetime_end_ts is not None else None)
|
||||
|
||||
# Create the new Tag.
|
||||
with db_transaction():
|
||||
|
|
Reference in a new issue