Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

restart command not working when variable are provide from command line #317

Closed
rlouapre opened this issue Dec 9, 2014 · 4 comments
Closed

Comments

@rlouapre
Copy link
Contributor

rlouapre commented Dec 9, 2014

For example:
ml local restart --ml.password=XXXXXX

@dmcassel
Copy link
Collaborator

Just tried this and didn't see any error.

@dmcassel
Copy link
Collaborator

Ah, I see the problem. Finish coffee, then review.

dmcassel added a commit that referenced this issue Dec 10, 2014
dmcassel added a commit to dmcassel/roxy that referenced this issue Dec 10, 2014
dmcassel added a commit that referenced this issue Dec 10, 2014
#317 reversing PR #318, as it incorrectly went to the master branch
dmcassel added a commit that referenced this issue Dec 10, 2014
#317 applying rlouapre's change to the dev branch
@grtjn
Copy link
Contributor

grtjn commented Jan 5, 2015

It seems that above changes has a negative side-effect on restart without arguments:

$ ./ml local restart
ERROR: undefined method `index' for nil:NilClass
ERROR: ["/Users/gjosten/Projects/github-grtjn/roxy/deploy/lib/server_config.rb:404:in `restart'", "deploy/lib/ml.rb:148:in `<main>'"]

line 404 needs an extra check if group exists (if group && group.index...).

@grtjn grtjn reopened this Jan 5, 2015
grtjn added a commit to grtjn/roxy that referenced this issue Jan 16, 2015
dmcassel added a commit that referenced this issue Jan 20, 2015
@dmcassel
Copy link
Collaborator

fixed in dev

jmeekhof pushed a commit to jmeekhof/roxy that referenced this issue Oct 7, 2015
jmeekhof pushed a commit to jmeekhof/roxy that referenced this issue Oct 7, 2015
jmeekhof pushed a commit to jmeekhof/roxy that referenced this issue Oct 7, 2015
jmeekhof pushed a commit to jmeekhof/roxy that referenced this issue Oct 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants