Skip to content

Make inspect error handling for missing resources consistent - #1564

Merged
jglogan merged 1 commit into
apple:mainfrom
realrajaryan:fix/inspect-missing-resource-consistency
May 16, 2026
Merged

Make inspect error handling for missing resources consistent#1564
jglogan merged 1 commit into
apple:mainfrom
realrajaryan:fix/inspect-missing-resource-consistency

Conversation

@realrajaryan

Copy link
Copy Markdown
Member

Type of Change

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

Motivation and Context

All inspect commands now consistently return exit 1 with a clear error when a requested resource is missing.

Testing

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

@realrajaryan
realrajaryan force-pushed the fix/inspect-missing-resource-consistency branch from b5fe71c to 623ab51 Compare May 15, 2026 22:25
@github-actions

Copy link
Copy Markdown

Code Coverage

Tier Line Coverage
Unit 34.09%
Integration 20.21%
Combined 53.73%

@jglogan
jglogan merged commit bd1916f into apple:main May 16, 2026
3 checks passed
jianliang00 pushed a commit to jianliang00/container that referenced this pull request Aug 28, 2026
)

- Closes apple#1539.
- All `inspect` commands now consistently return
  exit 1 with a clear error when a requested resource
  is missing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Missing-resource inspect behavior is inconsistent across resource types

2 participants