Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

added version cmd #82

Merged
merged 1 commit into from
Jun 17, 2021
Merged

added version cmd #82

merged 1 commit into from
Jun 17, 2021

Conversation

GrigoriyMikhalkin
Copy link
Contributor

@GrigoriyMikhalkin GrigoriyMikhalkin commented Jun 17, 2021

cc @majst01
Output looks similar to metalctl version command:
If server is available:

client: 1.1, go1.16.5
server:
    builddate: "2021-03-29T11:30:07Z"
    gitsha1: e843d254
    name: metal-api
    revision: tags/v0.14.1-0-ge843d25
    version: v0.14.1

If not available:

client: 1.1, go1.16.5
Error: failed to get server info: Get "http://localhost:8080/cloud/v1/version": dial tcp 127.0.0.1:8080: connect: connection refused

@majst01 majst01 merged commit 88aa93c into fi-ts:master Jun 17, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants