Closed andreiz closed 1 year ago
can you post the output of "git describe"? (or "git rev-parse HEAD" if that doesn't work)
# git describe
v0.41.2-11-g11c7db7
Hmmm, can't reproduce...
$ synadm regtok delete "qnv~whje8nfi_RJN"
Registration token successfully deleted.
@andreiz What was the full command that you ran?
`$ synadm regtok delete "mytoken"
Nothing out of the ordinary.
The token seems to persist in the context.params
at least until here:
File "/root/code/synadm/.venv/lib/python3.10/site-packages/click/core.py", line 1658
For what it's worth, it pulled in click-8.1.3
when I ran setup.py develop
I can reproduce, bisect says first bad commit is 68749391d6a291d2fac229214f59924189c775ac.
I'll continue to look into this, thanks for the report @andreiz.
Issue: query
function accepts token
as an arg, it doesn't go into **kwargs
so KeyError
.
May need to review other things that use conflicting keywords.
Workarounds: ¯\_(ツ)_/¯
Fix available in the fix-regtok-delete branch while I wait for JOJ0 to approve the PR.
Thanks @andreiz for that catch and thanks @JacksonChen666 for fixing :+1: PR approved.
I'm using 0.41.2 (git clone of the repo). Running
synadm regtok delete <token>
results in:The rest of the commands seem to work.