From d75bc4b4571087239ad1c24e77ac8129cc87659a Mon Sep 17 00:00:00 2001 From: Max Shaposhnyk Date: Wed, 3 Apr 2024 13:10:24 +0300 Subject: [PATCH] Fixups Signed-off-by: Max Shaposhnyk --- controllers/imagerepository_controller.go | 3 --- pkg/quay/test_quay_client.go | 2 -- 2 files changed, 5 deletions(-) diff --git a/controllers/imagerepository_controller.go b/controllers/imagerepository_controller.go index a5111b1..904ae61 100644 --- a/controllers/imagerepository_controller.go +++ b/controllers/imagerepository_controller.go @@ -49,9 +49,6 @@ const ( buildPipelineServiceAccountName = "appstudio-pipeline" updateComponentAnnotationName = "image-controller.appstudio.redhat.com/update-component-image" - - metricsNamespace = "redhat_appstudio" - metricsSubsystem = "imagecontroller" ) // ImageRepositoryReconciler reconciles a ImageRepository object diff --git a/pkg/quay/test_quay_client.go b/pkg/quay/test_quay_client.go index ddb8117..eb2de6e 100644 --- a/pkg/quay/test_quay_client.go +++ b/pkg/quay/test_quay_client.go @@ -30,8 +30,6 @@ type TestQuayClient struct{} var _ QuayService = (*TestQuayClient)(nil) var ( - testQuayClient = &TestQuayClient{} - CreateRepositoryFunc func(repository RepositoryRequest) (*Repository, error) DeleteRepositoryFunc func(organization, imageRepository string) (bool, error) ChangeRepositoryVisibilityFunc func(organization, imageRepository string, visibility string) error