mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-08 19:09:59 +00:00
rectify error in sending clientDialVer in application status query
This commit is contained in:
@@ -53,7 +53,9 @@ function test() {
|
||||
}
|
||||
})
|
||||
.delay(timeToWaitForStateChange)
|
||||
.then(dial.getApplicationStatus.bind(null, host, app))
|
||||
.then(function () {
|
||||
return dial.getApplicationStatus(host, app)
|
||||
})
|
||||
.then(function getCurrentAppState(result) {
|
||||
if(!result || !result.state) {
|
||||
return Q.reject(new Error("Error retrieving current " + app + " application state"));
|
||||
|
||||
Reference in New Issue
Block a user