Skip to content

Commit

Permalink
Closes-Bug: #1595887
Browse files Browse the repository at this point in the history
Do not assign default apiName as api-server while creating rest instance object
for introspect.

Change-Id: Iacc1d79b6c5e25e1dcc48e0e259ca168c10b1a00
(cherry picked from commit caf49a2)
  • Loading branch information
biswajit-mandal committed Dec 15, 2016
1 parent 20e63ed commit 3635e29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/serverroot/utils/common.utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1058,8 +1058,7 @@ function createJSONByUVEResponseArr (resultArr, responseArr, lastIndex)
* which ignores all XML attributes and only creates text nodes
*/
function getRestAPIServer (ip, port, apiName) {
var api = apiName || global.label.API_SERVER;
return rest.getAPIServer({apiName: api, server:ip, port: port,
return rest.getAPIServer({apiName: apiName, server:ip, port: port,
xml2jsSettings:
{ignoreAttrs: true,
explicitArray: false
Expand Down

0 comments on commit 3635e29

Please sign in to comment.