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