diff options
| author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 15:23:04 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-28 12:55:16 +0200 |
| commit | 8b38a040830109f19550e7329b82ec5caf76b321 (patch) | |
| tree | 13ecc54219914102f69fb59e005a836a88f78f5c /account.go | |
| parent | 4f67f4c0a59a850321b37a154efc9bde60539ca8 (diff) | |
| download | go-schwift-8b38a040830109f19550e7329b82ec5caf76b321.tar.gz | |
Fix linting errors
Diffstat (limited to 'account.go')
| -rw-r--r-- | account.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -212,7 +212,7 @@ func (a *Account) Capabilities() (Capabilities, error) { 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. - req, err := http.NewRequest("GET", a.baseURL+"info", nil) + req, err := http.NewRequest(http.MethodGet, a.baseURL+"info", http.NoBody) if err != nil { return nil, err } |
