Skip to content

Commit

Permalink
Fix misspelling in comments (#112)
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Ekenstam <[email protected]>
  • Loading branch information
tekenstam authored Sep 23, 2023
1 parent 969325c commit 40f0972
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/reaper/nodereaper/nodereaper.go
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ func hasSkipLabel(node v1.Node, label string) bool {
}

func reconsiderUnreapableNode(node v1.Node, reapableAfter float64) bool {
//For backward compatibilty
//For backward compatibility
if nodeHasAnnotation(node, ageUnreapableAnnotationKey, "true") {
return true
}
Expand Down
10 changes: 5 additions & 5 deletions pkg/reaper/podreaper/podreaper.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ const (
// ReapOperationCompleted identifies the reap operation of a completed pod
ReapOperationCompleted = "CompletedPod"

// NamespaceExclusionAnnotationKey is the annotation key for exlcuding a namespace from reap events
// NamespaceExclusionAnnotationKey is the annotation key for excluding a namespace from reap events
NamespaceExclusionAnnotationKey = "governor.keikoproj.io/disable-pod-reaper"
// NamespaceCompletedExclusionAnnotationKey is the annotation key for exlcuding a namespace from reaping completed pods
// NamespaceCompletedExclusionAnnotationKey is the annotation key for excluding a namespace from reaping completed pods
NamespaceCompletedExclusionAnnotationKey = "governor.keikoproj.io/disable-completed-pod-reap"
// NamespaceFailedExclusionAnnotationKey is the annotation key for exlcuding a namespace from reaping failed pods
// NamespaceFailedExclusionAnnotationKey is the annotation key for excluding a namespace from reaping failed pods
NamespaceFailedExclusionAnnotationKey = "governor.keikoproj.io/disable-completed-pod-reap"
// NamespaceStuckExclusionAnnotationKey is the annotation key for exlcuding a namespace from reaping stuck pods
// NamespaceStuckExclusionAnnotationKey is the annotation key for excluding a namespace from reaping stuck pods
NamespaceStuckExclusionAnnotationKey = "governor.keikoproj.io/disable-stuck-pod-reap"
// NamespaceExclusionEnabledAnnotationValue is the annotation value for exlcuding a namespace from reap events
// NamespaceExclusionEnabledAnnotationValue is the annotation value for excluding a namespace from reap events
NamespaceExclusionEnabledAnnotationValue = "true"

TerminatedPodReason = "TerminatedPod"
Expand Down

0 comments on commit 40f0972

Please sign in to comment.