Skip to content

Commit

Permalink
Check if the HTTP port returned is valid.
Browse files Browse the repository at this point in the history
  • Loading branch information
menivaitsi committed May 3, 2016
1 parent 02a4ca3 commit 4595c44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/appscale_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,8 @@ def upload_app(cls, options):
apps_result = json_result['apps']
current_app = apps_result[app_id]
http_port = current_app['http']
if not http_port:
continue
break
except ValueError:
pass
Expand Down

0 comments on commit 4595c44

Please sign in to comment.