Skip to content

Commit

Permalink
Updated deprecated message for linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
tamboliasir1 committed Nov 20, 2021
1 parent 8537733 commit e81cecf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/annotations/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ func IsExternallyManaged(o metav1.Object) bool {
return hasAnnotation(o, clusterv1.ManagedByAnnotation)
}

// Deprecated: this is going to be removed in a next release. Please use `HasPaused` instead.
// HasPausedAnnotation returns true if the object has the `paused` annotation.
// Deprecated: this is going to be removed in a next release. Please use `HasPaused` instead.
func HasPausedAnnotation(o metav1.Object) bool {
return hasAnnotation(o, clusterv1.PausedAnnotation)
}
Expand All @@ -48,8 +48,8 @@ func HasPaused(o metav1.Object) bool {
return hasAnnotation(o, clusterv1.PausedAnnotation)
}

// Deprecated: this is going to be removed in a next release. Please use `HasSkipRemediation` instead.
// HasSkipRemediationAnnotation returns true if the object has the `skip-remediation` annotation.
// Deprecated: this is going to be removed in a next release. Please use `HasSkipRemediation` instead.
func HasSkipRemediationAnnotation(o metav1.Object) bool {
return hasAnnotation(o, clusterv1.MachineSkipRemediationAnnotation)
}
Expand Down

0 comments on commit e81cecf

Please sign in to comment.