fix typo
This commit is contained in:
parent
5e31ca3b27
commit
e0d749f952
@ -48,7 +48,7 @@ type MuxHealthChecker struct {
|
|||||||
|
|
||||||
// HealthCheck delegates the health-checking of the container to one of the bundled implementations.
|
// HealthCheck delegates the health-checking of the container to one of the bundled implementations.
|
||||||
// It chooses an implementation according to container.LivenessProbe.Type.
|
// It chooses an implementation according to container.LivenessProbe.Type.
|
||||||
// If there is no matching healthc checker it returns Unknown, nil.
|
// If there is no matching health checker it returns Unknown, nil.
|
||||||
func (m *MuxHealthChecker) HealthCheck(container api.Container) (Status, error) {
|
func (m *MuxHealthChecker) HealthCheck(container api.Container) (Status, error) {
|
||||||
checker, ok := m.checkers[container.LivenessProbe.Type]
|
checker, ok := m.checkers[container.LivenessProbe.Type]
|
||||||
if !ok || checker == nil {
|
if !ok || checker == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user