Skip to content

Commit

Permalink
Fix wrong variable name in CircleCI Context (#338)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Mottram <[email protected]>
  • Loading branch information
Chris Every and tomp4l authored Mar 22, 2021
1 parent 644d3d3 commit 1cabdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/location/circlecicontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1cabdc5

Please sign in to comment.