From 9744fa1b3811bff148447379bffbb066efe100b5 Mon Sep 17 00:00:00 2001 From: ishandhanani Date: Wed, 25 Sep 2024 01:19:19 -0700 Subject: [PATCH] function: fixed vid bug in stop --- cmd/function/function_stop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/function/function_stop.go b/cmd/function/function_stop.go index 074cb71..73cef0b 100644 --- a/cmd/function/function_stop.go +++ b/cmd/function/function_stop.go @@ -58,7 +58,7 @@ func runFunctionStop(cmd *cobra.Command, args []string) error { client.FunctionDeployment.Functions.Versions.DeleteDeployment(cmd.Context(), functionId, deployedVersionsToStop[0], nvcf.FunctionDeploymentFunctionVersionDeleteDeploymentParams{ Graceful: nvcf.Bool(force), }) - output.Success(cmd, fmt.Sprintf("Function %s version %s stopped successfully", functionId, versionId)) + output.Success(cmd, fmt.Sprintf("Function %s version %s stopped successfully", functionId, deployedVersionsToStop[0])) } } return nil