From bdff9d0cd7f56eb6f70bc5e9bf8f94d7143a77d2 Mon Sep 17 00:00:00 2001 From: David Collom Date: Fri, 18 Mar 2022 19:32:50 +0000 Subject: [PATCH] Update internal/clients/gcp.go Co-authored-by: Alper Rifat Ulucinar Signed-off-by: David Collom --- Makefile | 2 +- internal/clients/gcp.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0b681eaa..11d6b66e 100644 --- a/Makefile +++ b/Makefile @@ -125,4 +125,4 @@ crossplane.help: help-special: crossplane.help -.PHONY: crossplane.help help-special +.PHONY: crossplane.help help-special \ No newline at end of file diff --git a/internal/clients/gcp.go b/internal/clients/gcp.go index 6de78683..33413c72 100644 --- a/internal/clients/gcp.go +++ b/internal/clients/gcp.go @@ -61,7 +61,7 @@ func TerraformSetupBuilder(version, providerSource, providerVersion string) terr keyProject: pc.Spec.ProjectID, } - switch s := pc.Spec.Credentials.Source; s { //nolint:exhaustive + switch pc.Spec.Credentials.Source { //nolint:exhaustive case xpv1.CredentialsSourceInjectedIdentity: // We don't need to do anything here, as the TF Provider will take care of workloadIdentity etc. default: