Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Introduce version checking and fix YAML lists #1665

Merged
merged 1 commit into from
Feb 7, 2018
Merged

Conversation

klizhentas
Copy link
Contributor

Fixes #1663, #1665

This commit fixes a couple of issues with tsh and tctl:

  • tsh now check the version of the server and prints error
    if tsh is newer version than the server.

  • tctl did not work properly when yaml file contained
    multiple resources in a list

@klizhentas
Copy link
Contributor Author

retest this please

@klizhentas
Copy link
Contributor Author

retest this please

@@ -190,6 +190,10 @@ type Config struct {

// AuthConnector is the name of the authentication connector to use.
AuthConnector string

// CheckVersions will check that client version is compatible
// to auth server version when connecting.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compatible with

Fixes #1663, #1665

This commit fixes a couple of issues with tsh and tctl:

* tsh now check the version of the server and prints error
if tsh is newer version than the server.

* tctl did not work properly when yaml file contained
multiple resources in a list
@klizhentas
Copy link
Contributor Author

retest this please

@klizhentas klizhentas merged commit cbce5cd into master Feb 7, 2018
@klizhentas klizhentas deleted the sasha/vercheck branch February 7, 2018 02:09
@klizhentas klizhentas mentioned this pull request Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Creating multiple resources does not work with yaml lists
4 participants