Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: improve verify output #238

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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