Commit 2d9273f9 authored by Tw's avatar Tw Committed by GitHub

Merge pull request #1746 from JoshHarmon/proxy-ci-fix

proxy: Fix CI fail from format token in Error call
parents 4750699a 8bc7b93b
......@@ -477,7 +477,7 @@ func TestHealthCheckContentString(t *testing.T) {
for i, test := range tests {
u, err := NewStaticUpstreams(caddyfile.NewDispenser("Testfile", strings.NewReader(test.config)), "")
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 {
staticUpstream, ok := upstream.(*staticUpstream)
......
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