From 4d49083db3cb3173622aad30d821bbaa3e78844a Mon Sep 17 00:00:00 2001 From: Sergii Leshchenko Date: Mon, 22 Jul 2019 16:53:11 +0300 Subject: [PATCH] Add missing reference and referenceContent for action in DtoConverter Signed-off-by: Sergii Leshchenko --- .../org/eclipse/che/api/workspace/server/DtoConverter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wsmaster/che-core-api-workspace/src/main/java/org/eclipse/che/api/workspace/server/DtoConverter.java b/wsmaster/che-core-api-workspace/src/main/java/org/eclipse/che/api/workspace/server/DtoConverter.java index c88ea92349d..053802f283e 100644 --- a/wsmaster/che-core-api-workspace/src/main/java/org/eclipse/che/api/workspace/server/DtoConverter.java +++ b/wsmaster/che-core-api-workspace/src/main/java/org/eclipse/che/api/workspace/server/DtoConverter.java @@ -202,7 +202,9 @@ private static DevfileActionDto asDto(Action action) { .withComponent(action.getComponent()) .withType(action.getType()) .withWorkdir(action.getWorkdir()) - .withCommand(action.getCommand()); + .withCommand(action.getCommand()) + .withReference(action.getReference()) + .withReferenceContent(action.getReferenceContent()); } /** Converts {@link WorkspaceConfig} to {@link WorkspaceConfigDto}. */