From 2f2d8dd6d2aadb13f67f6769bb4dff418b2f1a16 Mon Sep 17 00:00:00 2001 From: srinandan Date: Tue, 3 Dec 2024 20:45:34 +0000 Subject: [PATCH] bug: fixes err val when not deployed #591 --- internal/client/apis/apis.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/client/apis/apis.go b/internal/client/apis/apis.go index d670463e5..935967251 100644 --- a/internal/client/apis/apis.go +++ b/internal/client/apis/apis.go @@ -707,6 +707,7 @@ func Wait(name string, revision int) error { clilog.Info.Println("Proxy deployment completed with status: ", respMap["state"]) default: clilog.Info.Println("Proxy deployment failed with status: ", respMap["state"]) + err = fmt.Errorf("proxy deployment failed with status: %s", respMap["state"]) } return false