From bd23c64a1283835f5991444bb47ec3da1895ff42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Jul 2024 13:05:01 +0200 Subject: Fix gophercloud lint complains --- account.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'account.go') diff --git a/account.go b/account.go index 90139cc..cdccc78 100644 --- a/account.go +++ b/account.go @@ -32,10 +32,10 @@ import ( // upwards from a container with Container.Account(). type Account struct { backend Backend - //URL parts + // URL parts baseURL string name string - //cache + // cache headers *AccountHeaders caps *Capabilities capsMutex sync.Mutex @@ -216,8 +216,8 @@ func (a *Account) Capabilities() (Capabilities, error) { // this account, and returns the response body. Unlike Account.Capabilities, // this method does not employ any caching. func (a *Account) RawCapabilities() ([]byte, error) { - //This method is the only one in Schwift that bypasses struct Request since - //the request URL is not below the endpoint URL. + // This method is the only one in Schwift that bypasses struct Request since + // the request URL is not below the endpoint URL. req, err := http.NewRequestWithContext(context.TODO(), http.MethodGet, a.baseURL+"info", http.NoBody) if err != nil { return nil, err -- cgit v1.2.3