diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-07-01 13:05:01 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-07-01 13:05:35 +0200 |
| commit | bd23c64a1283835f5991444bb47ec3da1895ff42 (patch) | |
| tree | d548aa20b2944b578a429aeae2ac1790b6f0f69a /account.go | |
| parent | 21ec57dc4fed205fde1890c0d7531aae6197b3db (diff) | |
| download | go-schwift-bd23c64a1283835f5991444bb47ec3da1895ff42.tar.gz | |
Fix gophercloud lint complains
Diffstat (limited to 'account.go')
| -rw-r--r-- | account.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
