jetrails / jrctl

Command line tool to help interact with our API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding token updates multiple tokens

aptyp opened this issue · comments

commented
~$ echo "eyJ......GBxiDP4" | jrctl server ingest -f -t www -e xx.xx.xx.235:xxxx

Ingested token for server(s) with type(s) "www".

SERVER        TYPE(S)  ACTION
xx.xx.xx.234  www      Updated
xx.xx.xx.235  www      Created

notice how in the snippet above, i was adding a new token for ip .235 and did not mention .234, but it was still Updated

also looking at .jrctl/config.yaml both endpoints now have the same token, which is now invalidated for the .234 endpoint.