Fix some linter complaints in controllerlib.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-08-28 11:22:19 -05:00
parent 7848332d47
commit aeee2cf05e
1 changed files with 3 additions and 2 deletions

View File

@ -10,10 +10,11 @@ const SecretNameAnnotation = "service.placeholder.io/secret-name"
// Annotations on secret.
const (
// ServiceUIDAnnotation is an annotation on a secret that indicates which service created it, by UID
// ServiceUIDAnnotation is an annotation on a secret that indicates which service created it, by UID.
ServiceUIDAnnotation = "service.placeholder.io/service-uid"
// ServiceNameAnnotation is an annotation on a secret that indicates which service created it, by Name
// to allow reverse lookups on services for comparison against UIDs
// to allow reverse lookups on services for comparison against UIDs.
ServiceNameAnnotation = "service.placeholder.io/service-name"
)