Skip to content

Reject conflicting volume delete flags#1560

Merged
realrajaryan merged 1 commit into
apple:mainfrom
realrajaryan:fix/volume-delete-all-conflict
May 15, 2026
Merged

Reject conflicting volume delete flags#1560
realrajaryan merged 1 commit into
apple:mainfrom
realrajaryan:fix/volume-delete-all-conflict

Conversation

@realrajaryan

Copy link
Copy Markdown
Member

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Reject explicitly supplied volume names when --all is passed to volume delete, matching the behavior of container/image/network delete.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@github-actions github-actions Bot added the cli label May 15, 2026
@github-actions

Copy link
Copy Markdown

Code Coverage

Tier Line Coverage
Unit 34.15%
Integration 20.21%
Combined 53.79%

@realrajaryan realrajaryan merged commit cb4748f into apple:main May 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: container volume delete --all <name> ignores <name> and deletes all volumes

2 participants