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

Truncate the file to avoid messing up the config file #216

Merged
merged 3 commits into from
Mar 13, 2017

Conversation

yinshiua
Copy link
Contributor

@yinshiua yinshiua commented Mar 8, 2017

closes #177
cherry-picked PR #214, thanks @markriggins

Commands ran:
$ make build
$ make test

Testing:
$ ecs-cli configure --profile *** --cluster ecs-cli-demo
$ ecs-cli configure --profile *** --cluster ecs-cli // set config with shorter cluster name
$ vim ~/.ecs/config // verify that the config file is not messed up

@yinshiua yinshiua merged commit e0a401b into aws:master Mar 13, 2017
@yinshiua yinshiua deleted the truncate branch March 22, 2017 22:38
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.

ecs-cli configure --cluster short-name trashes its config file when you shorten the name of the cluster
4 participants