From b0551dea97f55f45600d7abf76ef979f287107d8 Mon Sep 17 00:00:00 2001 From: FogDong Date: Wed, 9 Aug 2023 10:39:05 +0800 Subject: [PATCH] fix: fix read app empty mesage Signed-off-by: FogDong --- addons/vela-workflow/definitions/read-app.cue | 5 +++++ addons/vela-workflow/metadata.yaml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/addons/vela-workflow/definitions/read-app.cue b/addons/vela-workflow/definitions/read-app.cue index 50ac61a02..408627191 100644 --- a/addons/vela-workflow/definitions/read-app.cue +++ b/addons/vela-workflow/definitions/read-app.cue @@ -36,6 +36,11 @@ template: { } } } + if read.err == _|_ { + msg: op.#Message & { + message: "Application read successfully" + } + } } parameter: { name: string diff --git a/addons/vela-workflow/metadata.yaml b/addons/vela-workflow/metadata.yaml index 1d2ee9dcb..eb88e2b96 100644 --- a/addons/vela-workflow/metadata.yaml +++ b/addons/vela-workflow/metadata.yaml @@ -1,5 +1,5 @@ name: vela-workflow -version: v0.6.0 +version: v0.6.1 description: "vela-workflow provides the capability to run a standalone workflow" icon: "https://static.kubevela.net/images/logos/KubeVela%20-03.png" url: "https://github.com/kubevela/workflow"