Commit c468b114 authored by Alexander Morozov's avatar Alexander Morozov

Fix format call in tests

Signed-off-by: default avatarAlexander Morozov <lk4d4@docker.com>
parent d96bd526
...@@ -40,7 +40,7 @@ md5:$apr1$l42y8rex$pOA2VJ0x/0TwaFeAF9nX61` ...@@ -40,7 +40,7 @@ md5:$apr1$l42y8rex$pOA2VJ0x/0TwaFeAF9nX61`
var skipHtpassword bool var skipHtpassword bool
htfh, err := ioutil.TempFile("", "basicauth-") htfh, err := ioutil.TempFile("", "basicauth-")
if err != nil { if err != nil {
t.Logf("Error creating temp file (%v), will skip htpassword test") t.Logf("Error creating temp file (%v), will skip htpassword test", err)
skipHtpassword = true skipHtpassword = true
} else { } else {
if _, err = htfh.Write([]byte(htpasswdFile)); err != nil { if _, err = htfh.Write([]byte(htpasswdFile)); err != nil {
......
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