Merge "openbao-monitor: remove non-json output of health and init commands"

This commit is contained in:
Zuul
2025-08-07 13:58:23 +00:00
committed by Gerrit Code Review
2 changed files with 0 additions and 2 deletions

View File

@@ -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

View File

@@ -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,