diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-12-03 10:59:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 10:59:33 -0500 |
commit | 70284b18cc7d4dc478c439cdda60ba64cfec060b (patch) | |
tree | e8bdc4217c89c7891116da9977d8e4ec4848bd0e /pkg/api | |
parent | c675d8a3c6335e495f7e0f055443a7acb63de911 (diff) | |
parent | f00cc25a7c655022785389e6778693c6a7763bdc (diff) | |
download | podman-70284b18cc7d4dc478c439cdda60ba64cfec060b.tar.gz podman-70284b18cc7d4dc478c439cdda60ba64cfec060b.tar.bz2 podman-70284b18cc7d4dc478c439cdda60ba64cfec060b.zip |
Merge pull request #8479 from rhatdan/log
Drop default log-level from error to warn
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/handlers/compat/images_build.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/handlers/compat/images_build.go b/pkg/api/handlers/compat/images_build.go index 149050209..43478c1d3 100644 --- a/pkg/api/handlers/compat/images_build.go +++ b/pkg/api/handlers/compat/images_build.go @@ -263,7 +263,7 @@ loop: failed = true m.Error = string(e) if err := enc.Encode(m); err != nil { - logrus.Warnf("Failed to json encode error %q", err.Error()) + logrus.Warnf("Failed to json encode error %v", err) } flush() case <-runCtx.Done(): @@ -271,7 +271,7 @@ loop: if !utils.IsLibpodRequest(r) { m.Stream = fmt.Sprintf("Successfully built %12.12s\n", imageID) if err := enc.Encode(m); err != nil { - logrus.Warnf("Failed to json encode error %q", err.Error()) + logrus.Warnf("Failed to json encode error %v", err) } flush() } |