From 97496957aa3211792dfaebc88aeae56cbbbd68bf Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 12 Mar 2024 17:42:13 +0100 Subject: [PATCH] cmd: improve verify output Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- cli/cmd/verify.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/cmd/verify.go b/cli/cmd/verify.go index bdd149d58..8b9c9b8ee 100644 --- a/cli/cmd/verify.go +++ b/cli/cmd/verify.go @@ -87,6 +87,8 @@ func runVerify(cmd *cobra.Command, _ []string) error { } log.Debug("Got response") + fmt.Fprintln(cmd.OutOrStdout(), "✔️ Successfully verified coordinator") + filelist := map[string][]byte{ coordRootPEMFilename: resp.CoordinatorRoot, meshRootPEMFilename: resp.MeshRoot, @@ -103,7 +105,8 @@ func runVerify(cmd *cobra.Command, _ []string) error { return fmt.Errorf("writing filelist: %w", err) } - fmt.Fprintln(cmd.OutOrStdout(), "✔️ Successfully verified coordinator") + fmt.Fprintf(cmd.OutOrStdout(), "✔️ Wrote Coordinator configuration and keys to %s\n", flags.workspaceDir) + fmt.Fprintln(cmd.OutOrStdout(), " Please verify the manifest history and policies") return nil }