From e81cecf3b8dfc3e0bc9919a7072c63d597fe9c85 Mon Sep 17 00:00:00 2001 From: Asir Tamboli Date: Sat, 20 Nov 2021 16:01:12 +0530 Subject: [PATCH] Updated deprecated message for linter error --- util/annotations/helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/annotations/helpers.go b/util/annotations/helpers.go index 2b137c405747..8ac235b1ec95 100644 --- a/util/annotations/helpers.go +++ b/util/annotations/helpers.go @@ -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) } @@ -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) }