Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 528206 - Exception trying to deploy app
  • Loading branch information
mrennie committed Dec 6, 2017
1 parent 9de0185 commit 3849e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/orionode/lib/cf/apps.js
Expand Up @@ -533,7 +533,7 @@ function updateApp(req, appTarget){
}
function getStackGuidByName(userId, stackname ,appTarget){
logger.debug("Getting stack guid=" + theApp.appName);
return target.cfRequest("GET", userId, appTarget.Url + "/v2/stacks", {"q":"name:"+ stackname,"inline-relations-depth":"1"})
return target.cfRequest("GET", userId, appTarget.Url + "/v2/stacks", {"q":"name:"+ stackname,"inline-relations-depth":"1"}, null, null, null, appTarget)
.then(function(result){
return result.resources[0] && result.resources[0].metadata.guid || null;
});
Expand Down

0 comments on commit 3849e84

Please sign in to comment.