[#312] cmd/cli: Add health status to healthcheck command output

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-01-15 13:34:07 +03:00 committed by Alex Vanin
parent 4666a7797b
commit b418aa6130

View file

@ -84,7 +84,8 @@ func healthCheck(cmd *cobra.Command, _ []string) error {
return err
}
cmd.Printf("Node network status: %s\n", resp.GetBody().GetNetmapStatus())
cmd.Printf("Network status: %s\n", resp.GetBody().GetNetmapStatus())
cmd.Printf("Health status: %s\n", resp.GetBody().GetHealthStatus())
return nil
}