Skip to content

Commit

Permalink
function: fixed vid bug in stop
Browse files Browse the repository at this point in the history
  • Loading branch information
ishandhanani committed Sep 25, 2024
1 parent 4d5f0cf commit 9744fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/function/function_stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9744fa1

Please sign in to comment.