summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/abi/containers_runlabel.go
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/domain/infra/abi/containers_runlabel.go
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/domain/infra/abi/containers_runlabel.go')
-rw-r--r--pkg/domain/infra/abi/containers_runlabel.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/domain/infra/abi/containers_runlabel.go b/pkg/domain/infra/abi/containers_runlabel.go
index 435baa8c8..add82f0fb 100644
--- a/pkg/domain/infra/abi/containers_runlabel.go
+++ b/pkg/domain/infra/abi/containers_runlabel.go
@@ -87,7 +87,7 @@ func (ic *ContainerEngine) ContainerRunlabel(ctx context.Context, label string,
ctr, err := ic.Libpod.LookupContainer(name)
if err != nil {
if errors.Cause(err) != define.ErrNoSuchCtr {
- logrus.Debugf("Error occurred searching for container %s: %s", name, err.Error())
+ logrus.Debugf("Error occurred searching for container %s: %v", name, err)
return err
}
} else {
@@ -167,7 +167,7 @@ func generateRunlabelCommand(runlabel string, img *libimage.Image, inputName str
// I would prefer to use os.getenv but it appears PWD is not in the os env list.
d, err := os.Getwd()
if err != nil {
- logrus.Error("unable to determine current working directory")
+ logrus.Error("Unable to determine current working directory")
return ""
}
return d