digitalocean / digitalocean/doctl

--access-token flag ignored when removing registry

Open
#1,396 3 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.