Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
3d1cac31
Commit
3d1cac31
authored
Sep 10, 2015
by
Alexander Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use %v instead of %p to calm vet
Signed-off-by:
Alexander Morozov
<
lk4d4@docker.com
>
parent
dc4a5ae1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
config/setup/controllertest.go
config/setup/controllertest.go
+1
-1
No files found.
config/setup/controllertest.go
View file @
3d1cac31
...
@@ -28,5 +28,5 @@ var EmptyNext = middleware.HandlerFunc(func(w http.ResponseWriter, r *http.Reque
...
@@ -28,5 +28,5 @@ var EmptyNext = middleware.HandlerFunc(func(w http.ResponseWriter, r *http.Reque
// SameNext does a pointer comparison between next1 and next2.
// SameNext does a pointer comparison between next1 and next2.
func
SameNext
(
next1
,
next2
middleware
.
Handler
)
bool
{
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
)
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment