Skip to content

Commit de26958

Browse files
committed
chore: refinements
Signed-off-by: Armando Ruocco <[email protected]>
1 parent 5d0d64e commit de26958

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/cmd/healthcheck/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func NewCmd() *cobra.Command {
2929
func unixHealthCheck() *cobra.Command {
3030
cmd := &cobra.Command{
3131
Use: "unix",
32-
Short: "unix healthcheck",
32+
Short: "executes the health check command on unix:///plugins/barman-cloud.cloudnative-pg.io",
3333
RunE: func(cmd *cobra.Command, _ []string) error {
3434
dialPath := fmt.Sprintf("unix://%s", path.Join("/plugins", metadata.PluginName))
3535
cli, cliErr := grpc.NewClient(dialPath, grpc.WithTransportCredentials(insecure.NewCredentials()))
@@ -54,7 +54,7 @@ func unixHealthCheck() *cobra.Command {
5454
return nil
5555
}
5656

57-
log.Error(fmt.Errorf("unexpected healthcheck response: %v", res.Status),
57+
log.Error(fmt.Errorf("unexpected healthcheck status: %v", res.Status),
5858
"while processing healthcheck response")
5959

6060
// exit code 1 is returned when we exit from the function with an error

0 commit comments

Comments
 (0)