From 008799f9acda019b90a8c9b14b5fcc0dad58b2ae Mon Sep 17 00:00:00 2001 From: Conor Mongey Date: Fri, 29 Jan 2021 03:09:48 +0000 Subject: [PATCH] Retain default behaviour if deployID is empty --- levant/deploy.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/levant/deploy.go b/levant/deploy.go index a0c983c6d..21ff3d740 100644 --- a/levant/deploy.go +++ b/levant/deploy.go @@ -164,6 +164,11 @@ func (l *levantDeployment) deploy() (success bool) { return } + if depID == "" { + log.Info().Msgf("levant/deploy: no deploy ID found for evaluation %s", eval.EvalID) + return l.jobStatusChecker(&eval.EvalID) + } + log.Info().Msgf("levant/deploy: watching deployment %s for job", depID) // Get the success of the deployment and return if we have success. if success = l.deploymentWatcher(depID); success {