rectify error in sending clientDialVer in application status query

This commit is contained in:
Shruti Ranganathan Jothi
2017-03-08 12:57:50 -08:00
parent 6a0edc87dc
commit 11e4eaf2ac
11 changed files with 47 additions and 16 deletions

View File

@@ -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"));