diff options
Diffstat (limited to 'heatclient/v1')
-rw-r--r-- | heatclient/v1/shell.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/heatclient/v1/shell.py b/heatclient/v1/shell.py index 66d9651..df182e6 100644 --- a/heatclient/v1/shell.py +++ b/heatclient/v1/shell.py @@ -1341,9 +1341,7 @@ def do_config_create(hc, args): } hc.stacks.validate(template=validate_template) - config['name'] = args.name - - sc = hc.software_configs.create(**config) + sc = hc.software_configs.create(name=args.name, **config) print(jsonutils.dumps(sc.to_dict(), indent=2)) |