summaryrefslogtreecommitdiff
path: root/iterator.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-07-21 14:23:40 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-07-21 14:23:40 +0200
commit044e297413066262c54beb33e98d0e498178897b (patch)
tree8fa631ebe958f0a480bbe9445ac83c13b36f1d97 /iterator.go
parentdc7bd11d855f0b3266612a18606801f4e09ecc09 (diff)
downloadgo-schwift-044e297413066262c54beb33e98d0e498178897b.tar.gz
use http.MethodFoo constants where possible
Diffstat (limited to 'iterator.go')
-rw-r--r--iterator.go2
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),
}