Merge "openbao-monitor: remove non-json output of health and init commands"
This commit is contained in:
@@ -44,7 +44,6 @@ var healthCmd = &cobra.Command{
|
||||
return fmt.Errorf("unable to marshal health check result: %v", err)
|
||||
}
|
||||
slog.Info(fmt.Sprintf("Health check command successful for host %v", args[0]))
|
||||
fmt.Print("Health check successful. Result:\n")
|
||||
fmt.Print(string(healthPrint))
|
||||
|
||||
return nil
|
||||
|
@@ -103,7 +103,6 @@ configurations.`,
|
||||
return fmt.Errorf("Init failed with error: %v", err)
|
||||
}
|
||||
slog.Info(fmt.Sprintf("Init successful for host %v", args[0]))
|
||||
fmt.Print("Init complete\n")
|
||||
return nil
|
||||
},
|
||||
PersistentPostRunE: cleanCmd,
|
||||
|
Reference in New Issue
Block a user