diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-22 18:25:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 18:25:48 -0400 |
commit | f2eb5bbbaee0f8dae0ee980280d1cdb526a81330 (patch) | |
tree | e4b27062a678d8ff2729c976751964b7acfa70c8 /libpod/util.go | |
parent | aa628b82b1c2f04fb3a9a9207bb6d6bddb497fbb (diff) | |
parent | 1c4e6d86241ff63cb2843429bcf2b049325be7b6 (diff) | |
download | podman-f2eb5bbbaee0f8dae0ee980280d1cdb526a81330.tar.gz podman-f2eb5bbbaee0f8dae0ee980280d1cdb526a81330.tar.bz2 podman-f2eb5bbbaee0f8dae0ee980280d1cdb526a81330.zip |
Merge pull request #11693 from rhatdan/cleanup
standardize logrus messages to upper case
Diffstat (limited to 'libpod/util.go')
-rw-r--r-- | libpod/util.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpod/util.go b/libpod/util.go index d3f7da91e..8f8303ff2 100644 --- a/libpod/util.go +++ b/libpod/util.go @@ -240,14 +240,14 @@ func hijackWriteError(toWrite error, cid string, terminal bool, httpBuf *bufio.R // We need a header. header := makeHTTPAttachHeader(2, uint32(len(errString))) if _, err := httpBuf.Write(header); err != nil { - logrus.Errorf("Error writing header for container %s attach connection error: %v", cid, err) + logrus.Errorf("Writing header for container %s attach connection error: %v", cid, err) } } if _, err := httpBuf.Write(errString); err != nil { - logrus.Errorf("Error writing error to container %s HTTP attach connection: %v", cid, err) + logrus.Errorf("Writing error to container %s HTTP attach connection: %v", cid, err) } if err := httpBuf.Flush(); err != nil { - logrus.Errorf("Error flushing HTTP buffer for container %s HTTP attach connection: %v", cid, err) + logrus.Errorf("Flushing HTTP buffer for container %s HTTP attach connection: %v", cid, err) } } } @@ -259,7 +259,7 @@ func hijackWriteErrorAndClose(toWrite error, cid string, terminal bool, httpCon hijackWriteError(toWrite, cid, terminal, httpBuf) if err := httpCon.Close(); err != nil { - logrus.Errorf("Error closing container %s HTTP attach connection: %v", cid, err) + logrus.Errorf("Closing container %s HTTP attach connection: %v", cid, err) } } |