mirror of
https://github.com/containers/podman.git
synced 2025-12-03 19:59:39 +08:00
vendor of containers/(common, storage, image)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/libnetwork/netavark/exec.go
generated
vendored
2
vendor/github.com/containers/common/libnetwork/netavark/exec.go
generated
vendored
@@ -23,7 +23,7 @@ type netavarkError struct {
|
||||
|
||||
func (e *netavarkError) Error() string {
|
||||
ec := ""
|
||||
// only add the exit code the the error message if we have at least info log level
|
||||
// only add the exit code the error message if we have at least info log level
|
||||
// the normal user does not need to care about the number
|
||||
if e.exitCode > 0 && logrus.IsLevelEnabled(logrus.InfoLevel) {
|
||||
ec = " (exit code " + strconv.Itoa(e.exitCode) + ")"
|
||||
|
||||
Reference in New Issue
Block a user