summaryrefslogtreecommitdiff
path: root/plugins/http/attributes/attributes.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/http/attributes/attributes.go')
-rw-r--r--plugins/http/attributes/attributes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/attributes/attributes.go b/plugins/http/attributes/attributes.go
index 243b6c78..201c2d5e 100644
--- a/plugins/http/attributes/attributes.go
+++ b/plugins/http/attributes/attributes.go
@@ -37,7 +37,7 @@ func (v attrs) del(key string) {
delete(v, key)
}
-// Init returns request with new context and attribute bag.
+// Init is idempotent returns request with new context and attribute bag.
func Init(r *http.Request) *http.Request {
// do not overwrite psr attributes
if val := r.Context().Value(PsrContextKey); val == nil {