1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Merge pull request #5984 from thaJeztah/fix_prune_cancel_errormessage

cli/command/network: fix error-message for cancelled prune
This commit is contained in:
Sebastiaan van Stijn
2025-04-04 18:18:46 +02:00
committed by GitHub

View File

@@ -57,7 +57,7 @@ func runPrune(ctx context.Context, dockerCli command.Cli, options pruneOptions)
return "", err
}
if !r {
return "", errdefs.Cancelled(errors.New("network prune cancelled has been cancelled"))
return "", errdefs.Cancelled(errors.New("network prune has been cancelled"))
}
}