Skip to content

Commit

Permalink
fix RPC param
Browse files Browse the repository at this point in the history
  • Loading branch information
robertchoi80 committed Sep 16, 2021
1 parent da48f5a commit f24f95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tks_info/update-tks-info-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ spec:
# TODO: how to dynamically construct app_type param as enum format here?
for app_type_, ep in {{inputs.parameters.endpoints}}.items():
res = app_stub.UpdateApp(info_pb2.UpdateAppRequest(app_group_id="{{workflow.parameters.app_group_id}}", app_type=common_pb2.{{app_type_}}, endpoint=ep, metadata="{}"))
res = app_stub.UpdateApp(info_pb2.UpdateAppRequest(app_group_id="{{workflow.parameters.app_group_id}}", app_type=app_type_, endpoint=ep, metadata="{}"))
print("Response code from UpdateApp: %d" % res.code)

0 comments on commit f24f95b

Please sign in to comment.