From 734b34abab8bd8e9b940e51b66e550ce08648afc Mon Sep 17 00:00:00 2001 From: Henning Jacobs Date: Fri, 1 Nov 2019 10:14:27 +0100 Subject: [PATCH] allow updating the criticality_level field (#15) --- kio/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kio/cli.py b/kio/cli.py index 6e6ae10..f70f38f 100644 --- a/kio/cli.py +++ b/kio/cli.py @@ -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),