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

proxy: Fix CI fail from format token in Error call
This commit is contained in:
Tw 2017-07-05 01:23:33 -05:00 committed by GitHub
commit 2d9273f915

View File

@ -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)