Skip to content

Commit

Permalink
Fixed undefined variable when tag not specified for a snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
jfischer committed Mar 18, 2019
1 parent 5bf6c1a commit c2c1249
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dataworkspaces/commands/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,8 @@ def snapshot_command(workspace_dir, batch, verbose, tag=None, message=''):
raise UserAbort()
else:
existing_tag_md = None
else:
existing_tag_md = None
current_resources = CurrentResources.read_current_resources(workspace_dir, batch, verbose)
resource_names = current_resources.by_name.keys()
plan = []
Expand Down

0 comments on commit c2c1249

Please sign in to comment.