mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
return di.Err when it's not nil
Signed-off-by: zhyon404 <zhyong4@gmail.com>
This commit is contained in:
@ -61,7 +61,7 @@ func runPrune(dockerCli command.Cli, opts pruneOptions) error {
|
||||
|
||||
for _, di := range dis {
|
||||
if di.Err != nil {
|
||||
return err
|
||||
return di.Err
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user