Skip to content

Commit

Permalink
cmd: improve verify output
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Mar 12, 2024
1 parent 3c32c84 commit 3616575
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/cmd/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
}
Expand Down

0 comments on commit 3616575

Please sign in to comment.