You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
klizhentas
changed the title
Createing multiple resources does not work with yaml lists
Creating multiple resources does not work with yaml lists
Feb 6, 2018
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
What happened:
tctl create -f resources.yaml only created the first resource in the list
What you expected to happen:
All resources should be created
How to reproduce it (as minimally and precisely as possible):
tctl create -f list.yaml
Environment:
teleport version
):tsh version
):all versions
Bug is on this line:
https://github.com/gravitational/teleport/blob/master/tool/tctl/common/resource_command.go#L171
only return if error here
The text was updated successfully, but these errors were encountered: