diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-07-21 14:23:40 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-07-21 14:23:40 +0200 |
| commit | 044e297413066262c54beb33e98d0e498178897b (patch) | |
| tree | 8fa631ebe958f0a480bbe9445ac83c13b36f1d97 /iterator.go | |
| parent | dc7bd11d855f0b3266612a18606801f4e09ecc09 (diff) | |
| download | go-schwift-044e297413066262c54beb33e98d0e498178897b.tar.gz | |
use http.MethodFoo constants where possible
Diffstat (limited to 'iterator.go')
| -rw-r--r-- | iterator.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iterator.go b/iterator.go index 3b26a1d..97ab665 100644 --- a/iterator.go +++ b/iterator.go @@ -78,7 +78,7 @@ type iteratorBase struct { func (b *iteratorBase) request(limit int, detailed bool) Request { r := Request{ - Method: "GET", + Method: http.MethodGet, ContainerName: b.i.getContainerName(), Options: cloneRequestOptions(b.i.getOptions(), nil), } |
