summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-22 18:25:48 -0400
committerGitHub <noreply@github.com>2021-09-22 18:25:48 -0400
commitf2eb5bbbaee0f8dae0ee980280d1cdb526a81330 (patch)
treee4b27062a678d8ff2729c976751964b7acfa70c8 /pkg/api/handlers/libpod
parentaa628b82b1c2f04fb3a9a9207bb6d6bddb497fbb (diff)
parent1c4e6d86241ff63cb2843429bcf2b049325be7b6 (diff)
downloadpodman-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 'pkg/api/handlers/libpod')
-rw-r--r--pkg/api/handlers/libpod/pods.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/handlers/libpod/pods.go b/pkg/api/handlers/libpod/pods.go
index 9f46ecc52..7bd6d3dbf 100644
--- a/pkg/api/handlers/libpod/pods.go
+++ b/pkg/api/handlers/libpod/pods.go
@@ -186,9 +186,9 @@ func PodStop(w http.ResponseWriter, r *http.Request) {
}
// Try to clean up the pod - but only warn on failure, it's nonfatal.
if cleanupCtrs, cleanupErr := pod.Cleanup(r.Context()); cleanupErr != nil {
- logrus.Errorf("Error cleaning up pod %s: %v", pod.ID(), cleanupErr)
+ logrus.Errorf("Cleaning up pod %s: %v", pod.ID(), cleanupErr)
for id, err := range cleanupCtrs {
- logrus.Errorf("Error cleaning up pod %s container %s: %v", pod.ID(), id, err)
+ logrus.Errorf("Cleaning up pod %s container %s: %v", pod.ID(), id, err)
}
}