From 1cabdc53f715d32a443d38048bcd2a81a9b275d0 Mon Sep 17 00:00:00 2001 From: Chris Every Date: Mon, 22 Mar 2021 09:47:40 +0000 Subject: [PATCH] Fix wrong variable name in CircleCI Context (#338) Co-authored-by: Tom Mottram --- pkg/location/circlecicontext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/location/circlecicontext.go b/pkg/location/circlecicontext.go index 33b30423..eaaa3313 100644 --- a/pkg/location/circlecicontext.go +++ b/pkg/location/circlecicontext.go @@ -29,7 +29,7 @@ func (circleContext CircleCIContext) Write(serviceAccountName string, keyWrapper contextID := circleContext.ContextID key := keyWrapper.Key // if configured, base64 decode the key (GCP return encoded keys) - if circle.Base64Decode { + if circleContext.Base64Decode { var keyb []byte keyb, err = base64.StdEncoding.DecodeString(key) if err != nil {