Skip to content
This repository was archived by the owner on Sep 23, 2020. It is now read-only.

Commit 536e474

Browse files
committed
Fix args in process definition update call
Fixes OOIION-1022
1 parent 43456ee commit 536e474

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ceiclient/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ def update_process_definition(self, process_definition=None, process_definition_
213213
definition_type = process_definition.get('type')
214214
name = process_definition.get('name')
215215
description = process_definition.get('description')
216+
args = dict(definition_id=process_definition_id, definition_type=definition_type,
217+
executable=executable, name=name, description=description)
216218
# TODO: what is definition_type?
217-
return self.connection.call(self.dashi_name, 'update_definition',
218-
definition_id=process_definition_id, executable=executable,
219-
definition_type=definition_type, name=name, description=description)
219+
return self.connection.call(self.dashi_name, 'update_definition', args=args)
220220

221221
def describe_process_definition(self, process_definition_id='', process_definition_name=''):
222222
kwargs = {}

0 commit comments

Comments
 (0)