From e4f5912294804b7d57b46063d4f6339a0cad130c Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 22 Mar 2022 16:32:29 +0000 Subject: [PATCH] azureblob: fix lint error with golangci-lint 1.45.0 --- backend/azureblob/azureblob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/azureblob/azureblob.go b/backend/azureblob/azureblob.go index 5dc7f73af..eda26fc09 100644 --- a/backend/azureblob/azureblob.go +++ b/backend/azureblob/azureblob.go @@ -612,7 +612,7 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e serviceURL = azblob.NewServiceURL(*u, pipeline) case opt.UseMSI: var token adal.Token - var userMSI *userMSI = &userMSI{} + var userMSI = &userMSI{} if len(opt.MSIClientID) > 0 || len(opt.MSIObjectID) > 0 || len(opt.MSIResourceID) > 0 { // Specifying a user-assigned identity. Exactly one of the above IDs must be specified. // Validate and ensure exactly one is set. (To do: better validation.)