digitalocean / digitalocean/doctl
--access-token flag ignored when removing registry
Open
bug
- Dominant language
- Go
- Stars
- 3.4k
- Forks
- 496
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
**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
Contributor guide
Assessment
This issue has not been assessed yet.