From aeee2cf05eef54aa826874e5a9d37d964793c296 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Fri, 28 Aug 2020 11:22:19 -0500 Subject: [PATCH] Fix some linter complaints in controllerlib. Signed-off-by: Matt Moyer --- .../test/integration/examplecontroller/api/api.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/controllerlib/test/integration/examplecontroller/api/api.go b/internal/controllerlib/test/integration/examplecontroller/api/api.go index 1f3626bd..cc8a0437 100644 --- a/internal/controllerlib/test/integration/examplecontroller/api/api.go +++ b/internal/controllerlib/test/integration/examplecontroller/api/api.go @@ -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" )