diff --git a/lifecycle_probes.go b/lifecycle_probes.go index 53f973c8b..905555e16 100644 --- a/lifecycle_probes.go +++ b/lifecycle_probes.go @@ -58,7 +58,7 @@ func init() { f.BoolVarP(&probeInput.SSL, "ssl", "", false, "Determines if SSL is enabled") f.BoolVarP(&probeInput.Auth, "auth", "", false, "Determines if authentication is enabled") - f.StringVarP(&probeInput.Endpoint, "endpoint", "", "/_api/version", "Determines if SSL is enabled") + f.StringVarP(&probeInput.Endpoint, "endpoint", "", "/_api/version", "Endpoint (path) to call for lifecycle probe") f.StringVarP(&probeInput.JWTPath, "jwt", "", k8sutil.ClusterJWTSecretVolumeMountDir, "Path to the JWT tokens") } diff --git a/reboot.go b/reboot.go index ff886c649..01063c967 100644 --- a/reboot.go +++ b/reboot.go @@ -482,6 +482,6 @@ func cmdRebootInspectRun(cmd *cobra.Command, args []string) { }) if http.ListenAndServe(":8080", nil); err != nil { - cliLog.Fatal().Err(err).Msg("Failed to listen and server") + cliLog.Fatal().Err(err).Msg("Failed to listen and serve") } }