cli/command/network: fix error-message for cancelled prune

This error-message was updated in 7c722c08d093c118ea727961be9aa0a23c83b733,
but looks like the typo was overlooked in review.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2025-04-01 23:44:00 +02:00
parent 33494921b8
commit 3122b8e7f5
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

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"))
}
}