Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--access-token flag ignored when removing registry #1396

Open
rzemykers opened this issue Jul 26, 2023 · 1 comment
Open

--access-token flag ignored when removing registry #1396

rzemykers opened this issue Jul 26, 2023 · 1 comment
Labels

Comments

@rzemykers
Copy link

Describe the Issue:

if I switch context
doctl auth switch --context Hyper_Example

and if I use token form Super_Example workspace
doctl registry delete --force -t XXXX

token will be ignored and doctl will delete registry from current context in this case it will be form "Hyper_Example" (not Super_Example)

Environment:

doctl version: doctl version 1.97.1-release
OS: Ubuntu 22.04.2 LTS (WSL)
Installation method: curl binary from GitHub

Additional Details:

No trace to provide as it's not making any requests

@rzemykers rzemykers added the bug label Jul 26, 2023
@mikeberezowski
Copy link
Contributor

Thank you for raising this bug. Unfortunately this is a known issue with doctl that requires significant work on our side to fix how contexts are handled. We will try our best to get to this but currently we don't have a timeline for when we can address the context issue.

Thank you for your continued usage and support for DigitalOcean's official CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants