vendor: github.com/docker/docker, docker/cli v28.0.1

diffs:

- https://github.com/docker/docker/compare/v28.0.0...v28.0.1
- https://github.com/docker/cli/compare/v28.0.0...v28.0.1

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-02-28 00:49:10 +01:00
parent 921b576f3a
commit f49593ce2c
4 changed files with 11 additions and 13 deletions

View File

@ -1,9 +1,5 @@
package cli
import (
"strconv"
)
// StatusError reports an unsuccessful exit by a command.
type StatusError struct {
Cause error
@ -21,7 +17,9 @@ func (e StatusError) Error() string {
if e.Cause != nil {
return e.Cause.Error()
}
return "exit status " + strconv.Itoa(e.StatusCode)
// we don't want to set a default message here,
// some commands might want to be explicit about the error message
return ""
}
func (e StatusError) Unwrap() error {