summaryrefslogtreecommitdiff
path: root/pkg/systemd/generate/pods.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-03 10:59:33 -0500
committerGitHub <noreply@github.com>2020-12-03 10:59:33 -0500
commit70284b18cc7d4dc478c439cdda60ba64cfec060b (patch)
treee8bdc4217c89c7891116da9977d8e4ec4848bd0e /pkg/systemd/generate/pods.go
parentc675d8a3c6335e495f7e0f055443a7acb63de911 (diff)
parentf00cc25a7c655022785389e6778693c6a7763bdc (diff)
downloadpodman-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/systemd/generate/pods.go')
-rw-r--r--pkg/systemd/generate/pods.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/systemd/generate/pods.go b/pkg/systemd/generate/pods.go
index c0acba37d..234a60380 100644
--- a/pkg/systemd/generate/pods.go
+++ b/pkg/systemd/generate/pods.go
@@ -224,7 +224,7 @@ func executePodTemplate(info *podInfo, options entities.GenerateSystemdOptions)
executable, err := os.Executable()
if err != nil {
executable = "/usr/bin/podman"
- logrus.Warnf("Could not obtain podman executable location, using default %s", executable)
+ logrus.Warnf("Could not obtain podman executable location, using default %s: %v", executable, err)
}
info.Executable = executable
}