mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-29 12:16:16 +08:00
Merge pull request #1746 from JoshHarmon/proxy-ci-fix
proxy: Fix CI fail from format token in Error call
This commit is contained in:
commit
2d9273f915
|
@ -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.Errorf("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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user