Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Config displays the latest API version always #79

Closed
adrysn opened this issue Dec 31, 2019 · 1 comment
Closed

Config displays the latest API version always #79

adrysn opened this issue Dec 31, 2019 · 1 comment
Labels

Comments

@adrysn
Copy link
Member

adrysn commented Dec 31, 2019

backend.ai config command displays current settings including API endpoint and API version. However, the API version displays always the latest version (v5.20191215 for current master). For example, https://api.backend.ai endpoint currently serves v4.20181215 as shown below:

image

When running backend.ai config, you'll see API version of v5.20191215.

image

I think we need to display the correct API version of the endpoint by fetching the information from the endpoint. Or, at least we need to provide users to be able to set API version by environment variables, such as BACKEND_API_VERSION.

@achimnol
Copy link
Member

achimnol commented Feb 5, 2020

Fixed as part of #82.

@achimnol achimnol closed this as completed Feb 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants