From 2bc9c483357d052b1df83564a6a01091f1128d2c Mon Sep 17 00:00:00 2001 From: Sean Yeh <109418+seanyeh@users.noreply.github.com> Date: Wed, 19 Feb 2025 15:30:23 -0600 Subject: [PATCH] feedback --- cmd/esc/cli/env_rotate.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/esc/cli/env_rotate.go b/cmd/esc/cli/env_rotate.go index cc27e9e1..d78890d0 100644 --- a/cmd/esc/cli/env_rotate.go +++ b/cmd/esc/cli/env_rotate.go @@ -70,6 +70,9 @@ func newEnvRotateCmd(envcmd *envCommand) *cobra.Command { fmt.Fprintf(&b, "%vEnvironment '%s' rotated with errors.%v\n", colors.SpecWarning, args[0], colors.Reset) } } + if event.PostRotationRevision != nil { + fmt.Fprintf(&b, "New revision '%d' was created.\n", *event.PostRotationRevision) + } var failedRotations []client.SecretRotation for _, rotation := range event.Rotations {