Skip to content

added changes for 412 error handling#1817

Merged
anup-deka merged 4 commits intomainfrom
doct_registry_412
Mar 23, 2026
Merged

added changes for 412 error handling#1817
anup-deka merged 4 commits intomainfrom
doct_registry_412

Conversation

@DO-rrao
Copy link
Contributor

@DO-rrao DO-rrao commented Mar 18, 2026

Before the fix:

doctl registry repository list-v2
# Error: failed to get registry: GET .../v2/registry: 412 (opaque error)

After the fix:

doctl registry repository list-v2
# Error: multiple registries found. Please specify one with --registry <name>.
# Available registries: registry1, registry2, registry3

# User now knows what to do:
doctl registry repository list-v2 --registry registry1

@anup-deka anup-deka merged commit d211f44 into main Mar 23, 2026
9 checks passed
@anup-deka anup-deka deleted the doct_registry_412 branch March 23, 2026 12:46
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.

2 participants