From 79bceb651f2897962cec2265cd55edfbafa530e7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 11:49:23 +0000 Subject: [PATCH 1/2] Update dependency architect to v5.5.0 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 03574a8..648ceea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,6 +1,6 @@ version: 2.1 orbs: - architect: giantswarm/architect@5.4.0 + architect: giantswarm/architect@5.5.0 jobs: unit-tests: From 8335bc88a6453d2bcf865f77dd23a5879895c66d Mon Sep 17 00:00:00 2001 From: Daniel Simionato Date: Tue, 20 Aug 2024 14:47:45 +0200 Subject: [PATCH 2/2] Fix linting errors --- pkg/privateendpoints/scope.go | 2 +- pkg/privateendpoints/service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/privateendpoints/scope.go b/pkg/privateendpoints/scope.go index a6ccd40..ebd7356 100644 --- a/pkg/privateendpoints/scope.go +++ b/pkg/privateendpoints/scope.go @@ -139,7 +139,7 @@ func (s *scope) GetPrivateEndpointIPAddress(ctx context.Context, privateEndpoint } else { return result, microerror.Maskf( errors.PrivateEndpointNetworkInterfacePrivateAddressNotFoundError, - fmt.Sprintf("could not find private endpoint network interface private IP address, got private endpoint: %v", privateEndpoint)) + "could not find private endpoint network interface private IP address, got private endpoint: %v", privateEndpoint) } } diff --git a/pkg/privateendpoints/service.go b/pkg/privateendpoints/service.go index 1c5eced..ce5ddda 100644 --- a/pkg/privateendpoints/service.go +++ b/pkg/privateendpoints/service.go @@ -68,7 +68,7 @@ func (s *Service) ReconcileMcToWcApi(ctx context.Context) error { if len(privateLinks) > 0 && !s.privateLinksScope.PrivateLinksReady() { errorMessage := "Workload cluster private links are not yet ready" logger.Info(errorMessage) - return microerror.Maskf(errors.PrivateLinksNotReadyError, errorMessage) + return microerror.Maskf(errors.PrivateLinksNotReadyError, "%s", errorMessage) } //