From f8b8ee109f901e3fad8130ed1179949d8d6f19cb Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 27 Oct 2020 00:01:12 +0100 Subject: [PATCH 1/2] Update lifecycle_probes.go --- lifecycle_probes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") } From 83164f6cd90d2deb58d6af704618df48abc9c962 Mon Sep 17 00:00:00 2001 From: jsteemann Date: Tue, 27 Oct 2020 00:20:42 +0100 Subject: [PATCH 2/2] fix typo --- reboot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") } }