Skip to content

Commit

Permalink
fixed bug with statuses not always being populated
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Koval committed May 10, 2017
1 parent 547fb6e commit 475eb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws_workflow/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def populate_menu_item(self, wf, env, title, uid, region_name, quicklookurl, pro
url = 'https://%s.console.aws.amazon.com/elasticbeanstalk/home?region=%s#/environment/dashboard?applicationName=%s&environmentId=%s' % (region_name, region_name, env['ApplicationName'], env['EnvironmentId'])
item = wf.add_item(
title,
subtitle='open in AWS console (status: %s; health: %s %s)' % (env['Status'], env['HealthStatus'], self.health_icons[env['Health']]),
subtitle='open in AWS console (status: %s; health: %s %s)' % (env.get('Status'), env.get('HealthStatus'), self.health_icons.get(env.get('Health'))),
arg=url,
valid=True,
uid=uid,
Expand Down

0 comments on commit 475eb04

Please sign in to comment.