clustericious / Clustericious

2 stars 3 forks source link

Client status string not overridden from the command line #19

Closed awarnock3 closed 8 years ago

awarnock3 commented 8 years ago

I can start the server on a different port than the one listed in the config file using "-l" (e.g., "perl -Ilib bin/restapp daemon -l http://*:9001") and although it's listening on 9001, it responds to "restappclient status" saying it's running on whatever port is specified in the config file. If the port is passed in from the command line via "-l", the response to the status request probably ought to reflect that.

plicease commented 8 years ago

@awarnock3 /status now returns a URL with a trailing slash, which caused a couple of tests in Yars to fail. This behavior is arguably more consistent, so I am going to keep it, but keep an eye out for similar failing tests.

awarnock3 commented 8 years ago

Fine by me.