aboutsummaryrefslogtreecommitdiffstats
path: root/ms/command-executor/src/main/python/utils.py
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-06-25 18:58:51 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-25 18:58:51 +0000
commitc8d2615d7e44b40db5358408f01a1ee83195e1df (patch)
tree90ff08e1c00b8e0243a24794437e72eb616a157c /ms/command-executor/src/main/python/utils.py
parented124819a2c928d895ba275d51eadc97afdf5a09 (diff)
parentc974b0293789c2b74d73dfb19e08fd233270f407 (diff)
Merge "python-executor will provide output line-by-line"
Diffstat (limited to 'ms/command-executor/src/main/python/utils.py')
-rw-r--r--ms/command-executor/src/main/python/utils.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ms/command-executor/src/main/python/utils.py b/ms/command-executor/src/main/python/utils.py
index 6260997f3..dc5d0089f 100644
--- a/ms/command-executor/src/main/python/utils.py
+++ b/ms/command-executor/src/main/python/utils.py
@@ -17,7 +17,6 @@ from google.protobuf.timestamp_pb2 import Timestamp
import proto.CommandExecutor_pb2 as CommandExecutor_pb2
-
def get_blueprint_id(request):
blueprint_name = request.identifiers.blueprintName
blueprint_version = request.identifiers.blueprintVersion
@@ -32,6 +31,5 @@ def build_response(request, results, is_success=True):
timestamp = Timestamp()
timestamp.GetCurrentTime()
-
- return CommandExecutor_pb2.ExecutionOutput(requestId=request.requestId, response="".join(results), status=status,
+ return CommandExecutor_pb2.ExecutionOutput(requestId=request.requestId, response=results, status=status,
timestamp=timestamp)