From c831b6c03a14c4b0f5ce9f42f42e76602ddaa8ca Mon Sep 17 00:00:00 2001 From: Ben Toogood Date: Wed, 13 May 2020 16:35:57 +0100 Subject: [PATCH] Fix --- util/wrapper/wrapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/wrapper/wrapper.go b/util/wrapper/wrapper.go index 285a775f..8b501b12 100644 --- a/util/wrapper/wrapper.go +++ b/util/wrapper/wrapper.go @@ -155,7 +155,7 @@ func (a *authWrapper) Call(ctx context.Context, req client.Request, rsp interfac // if auth is nil we won't be able to get an access token, so we execute // the request without one. aa := a.auth() - if a == nil { + if aa == nil { return a.Client.Call(ctx, req, rsp, opts...) }