Skip to content

Commit 06916bf

Browse files
authored
Fix endpoint option description (#651)
1 parent 6db28e8 commit 06916bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lifecycle_probes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func init() {
5858

5959
f.BoolVarP(&probeInput.SSL, "ssl", "", false, "Determines if SSL is enabled")
6060
f.BoolVarP(&probeInput.Auth, "auth", "", false, "Determines if authentication is enabled")
61-
f.StringVarP(&probeInput.Endpoint, "endpoint", "", "/_api/version", "Determines if SSL is enabled")
61+
f.StringVarP(&probeInput.Endpoint, "endpoint", "", "/_api/version", "Endpoint (path) to call for lifecycle probe")
6262
f.StringVarP(&probeInput.JWTPath, "jwt", "", k8sutil.ClusterJWTSecretVolumeMountDir, "Path to the JWT tokens")
6363
}
6464

reboot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,6 @@ func cmdRebootInspectRun(cmd *cobra.Command, args []string) {
482482
})
483483

484484
if http.ListenAndServe(":8080", nil); err != nil {
485-
cliLog.Fatal().Err(err).Msg("Failed to listen and server")
485+
cliLog.Fatal().Err(err).Msg("Failed to listen and serve")
486486
}
487487
}

0 commit comments

Comments
 (0)