Commit 3d1cac31 authored by Alexander Morozov's avatar Alexander Morozov

Use %v instead of %p to calm vet

Signed-off-by: default avatarAlexander Morozov <lk4d4@docker.com>
parent dc4a5ae1
......@@ -28,5 +28,5 @@ var EmptyNext = middleware.HandlerFunc(func(w http.ResponseWriter, r *http.Reque
// SameNext does a pointer comparison between next1 and next2.
func SameNext(next1, next2 middleware.Handler) bool {
return fmt.Sprintf("%p", next1) == fmt.Sprintf("%p", next2)
return fmt.Sprintf("%v", next1) == fmt.Sprintf("%v", next2)
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment