Skip to content

Commit

Permalink
all entity properties need to be strings
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Jan 28, 2016
1 parent 90b1f71 commit 60ce159
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def sync_teams(team_service_url, access_token):
entity['account_type'] = infra['type']
entity['account_id'] = infra['id']
entity['name'] = infra['name']
entity['disabled'] = infra.get('disabled', False)
entity['owner'] = infra.get('owner')
# NOTE: all entity values need to be strings!
entity['disabled'] = str(infra.get('disabled', False))
push_entity(entity)

if aws_consolidated_billing_account_id and infra['type'] == 'aws':
Expand Down

0 comments on commit 60ce159

Please sign in to comment.