fixed code format bug 09/56109/1
authorHong Guan <hg4105@att.com>
Tue, 10 Jul 2018 14:29:04 +0000 (10:29 -0400)
committerHong Guan <hg4105@att.com>
Tue, 10 Jul 2018 14:30:23 +0000 (10:30 -0400)
Change-Id: I159c85f44118ba387c2a5f9438684b45405c6edd
Issue-ID: CCSDK-354
Signed-off-by: Hong Guan <hg4105@att.com>
helm/plugin/workflows.py

index a37293e..c21f27c 100644 (file)
@@ -50,11 +50,11 @@ def upgrade(node_instance_id, config_json, config_url, config_format,
     else:
         raise NonRecoverableError("Unable to get Json config input")
 
-kwargs['chart_version'] = str(chartVersion)
-kwargs['chart_repo'] = str(chartRepo)
-operation_args = {'operation': 'upgrade', }
-operation_args['kwargs'] = kwargs
-node_instance.execute_operation(**operation_args)
+    kwargs['chart_version'] = str(chartVersion)
+    kwargs['chart_repo'] = str(chartRepo)
+    operation_args = {'operation': 'upgrade', }
+    operation_args['kwargs'] = kwargs
+    node_instance.execute_operation(**operation_args)
 
 
 @workflow