Skip to content

Commit

Permalink
allow updating the criticality_level field (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs authored Nov 1, 2019
1 parent 7e2144e commit 734b34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kio/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def update(config, application_id, key_val_pairs):
val = val == 'true'
data[key] = val
# remove fields which we can't update
for key in ('id', 'last_modified', 'last_modified_by', 'criticality_level', 'created', 'created_by'):
for key in ('id', 'last_modified', 'last_modified_by', 'created', 'created_by'):
del data[key]
with Action('Updating application {}..'.format(application_id)):
r = session.put('{}/apps/{}'.format(url, application_id),
Expand Down

0 comments on commit 734b34a

Please sign in to comment.