Skip to content

Commit

Permalink
Merge pull request #18 from mitct23/patch-1
Browse files Browse the repository at this point in the history
Fix probe name in `kubectl ice probe` output
  • Loading branch information
NimbleArchitect authored Jul 22, 2023
2 parents 7bf0cb8 + 46e81a0 commit 736ce22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/plugin/probes.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

var probesShort = "Shows details of configured startup, readiness and liveness probes of each container"

var probesDescription = ` Prints details of the currently configured startup, liveness and rediness probes for each
var probesDescription = ` Prints details of the currently configured startup, liveness and readiness probes for each
container. Details like the delay timeout and action are printed along with the configured probe
type. If no name is specified the container probe details of all pods in the current namespace
are shown.`
Expand Down Expand Up @@ -185,7 +185,7 @@ func (s *probes) buildProbeList(container v1.Container) map[string][]probeAction
probes["readiness"] = s.buildProbeAction("readiness", container.ReadinessProbe)
}
if container.StartupProbe != nil {
probes["startup"] = s.buildProbeAction("liveness", container.StartupProbe)
probes["startup"] = s.buildProbeAction("startup", container.StartupProbe)
}

return probes
Expand Down

0 comments on commit 736ce22

Please sign in to comment.