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

mu svc restart appears to restart all services, rather than the specified service #279

Closed
brentley opened this issue Feb 11, 2018 · 0 comments

Comments

@brentley
Copy link
Contributor

brentley commented Feb 11, 2018

for context, I have 3 tasks of ecsdemo-nodejs running. When I first ran the restart command in the git checkout for ecsdemo-nodejs I ran mu svc restart acceptance. All services in the acceptance environment were restarted (9 tasks, 3 services). I kind of expected it to be limited to the project I was working from.

I then spotted the -s option, and tried again. For context, I have 3 tasks of ecsdemo-nodejs running:

$ mu svc restart -s ecsdemo-nodejs acceptance
Stopping task 2106a465-5149-4e00-aef3-8edf365b96cf in environment acceptance
Stopping task cd0368b4-741c-4534-b89b-b52173e68f75 in environment acceptance
Stopping task fa70c288-fa26-4e12-bb49-9de77b2e263c in environment acceptance
Stopping task 4c195629-d438-4a5f-be92-045a38483d15 in environment acceptance
Stopping task 5130cd6a-4875-4714-bb4e-89ed7ed29cfc in environment acceptance
Stopping task 8b96c133-f56e-4dc7-95f4-b6b33597b792 in environment acceptance
Stopping task 17517128-ccf6-4415-8d50-851d25d1e55f in environment acceptance
Stopping task f031794e-62c9-48d7-bb42-de8c65e6922f in environment acceptance
Stopping task fb230e2f-e3b7-4640-a25c-4b356dcc7dc0 in environment acceptance

So it appears that all tasks get restarted, even when trying to limit using the -s option.

@cplee cplee added the bug label Feb 12, 2018
@cplee cplee added this to To do in 1.5.1 via automation Feb 12, 2018
@cplee cplee moved this from To do to In Progress in 1.5.1 Jul 30, 2018
@cplee cplee moved this from In Progress to Under Review in 1.5.1 Jul 30, 2018
@cplee cplee moved this from Under Review to Done in 1.5.1 Jul 30, 2018
@cplee cplee moved this from Done to Under Review in 1.5.1 Jul 30, 2018
@cplee cplee closed this as completed in 9fd5844 Aug 1, 2018
1.5.1 automation moved this from Under Review to Done Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
1.5.1
  
Done
Development

No branches or pull requests

2 participants