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
Łukasz Nowak
caddy
Commits
2d9273f9
Commit
2d9273f9
authored
7 years ago
by
Tw
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1746 from JoshHarmon/proxy-ci-fix
proxy: Fix CI fail from format token in Error call
parents
4750699a
8bc7b93b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
caddyhttp/proxy/upstream_test.go
caddyhttp/proxy/upstream_test.go
+1
-1
No files found.
caddyhttp/proxy/upstream_test.go
View file @
2d9273f9
...
@@ -477,7 +477,7 @@ func TestHealthCheckContentString(t *testing.T) {
...
@@ -477,7 +477,7 @@ func TestHealthCheckContentString(t *testing.T) {
for
i
,
test
:=
range
tests
{
for
i
,
test
:=
range
tests
{
u
,
err
:=
NewStaticUpstreams
(
caddyfile
.
NewDispenser
(
"Testfile"
,
strings
.
NewReader
(
test
.
config
)),
""
)
u
,
err
:=
NewStaticUpstreams
(
caddyfile
.
NewDispenser
(
"Testfile"
,
strings
.
NewReader
(
test
.
config
)),
""
)
if
err
!=
nil
{
if
err
!=
nil
{
t
.
Error
(
"Expected no error. Test %d Got:
"
,
i
,
err
.
Error
())
t
.
Error
f
(
"Expected no error. Test %d Got: %s
"
,
i
,
err
.
Error
())
}
}
for
_
,
upstream
:=
range
u
{
for
_
,
upstream
:=
range
u
{
staticUpstream
,
ok
:=
upstream
.
(
*
staticUpstream
)
staticUpstream
,
ok
:=
upstream
.
(
*
staticUpstream
)
...
...
This diff is collapsed.
Click to expand it.
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