Skip to content

Commit

Permalink
Merge pull request #19 from fvant/patch-1
Browse files Browse the repository at this point in the history
Fix for scenario where version_label is empty
  • Loading branch information
hsingh authored Oct 26, 2016
2 parents d37f388 + 8e8a95e commit 37f883d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/elasticbeanstalk_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def wait_for(ebs, app_name, env_name, wait_timeout, testfunc):
time.sleep(15)

def version_is_updated(version_label, env):
return env["VersionLabel"] == version_label
return version_label == "" or env["VersionLabel"] == version_label

def status_is_ready(env):
return env["Status"] == "Ready"
Expand Down

0 comments on commit 37f883d

Please sign in to comment.