From 18a2486f85eda213c61e875a2c1e5f83541437a0 Mon Sep 17 00:00:00 2001 From: shreddedbacon Date: Thu, 15 Aug 2024 19:42:16 +1000 Subject: [PATCH] fix: branch-ref flag on deploy branch --- cmd/deploy.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/deploy.go b/cmd/deploy.go index c3b99d5b..48543185 100644 --- a/cmd/deploy.go +++ b/cmd/deploy.go @@ -3,9 +3,10 @@ package cmd import ( "context" "fmt" - "github.com/uselagoon/lagoon-cli/pkg/output" "strconv" + "github.com/uselagoon/lagoon-cli/pkg/output" + lclient "github.com/uselagoon/machinery/api/lagoon/client" "github.com/spf13/cobra" @@ -38,7 +39,7 @@ use 'lagoon deploy latest' instead`, if err != nil { return err } - branchRef, err := cmd.Flags().GetString("branchRef") + branchRef, err := cmd.Flags().GetString("branch-ref") if err != nil { return err }