Skip to content

Commit a0e75c1

Browse files
author
Jessica Wang
committed
CLOUDSTACK-747: internal LB in VPC - fix a bug that Source IP Address column was not filled after Add Internal LB action was complete.
1 parent b11c44f commit a0e75c1

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

‎ui/scripts/vpc.js‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@
410410
args.response.success(
411411
{_custom:
412412
{jobId: jid,
413-
getUpdatedItem: function(json) {
414-
return json.queryasyncjobresultresponse.jobresult.loadbalancerrule;
413+
getUpdatedItem: function(json) {
414+
return json.queryasyncjobresultresponse.jobresult.loadbalancer;
415415
}
416416
}
417417
}
@@ -422,14 +422,7 @@
422422
args.response.success();
423423
},
424424
notification: {
425-
poll: function(args) {
426-
args.complete({
427-
data: {
428-
ipaddress: '10.0.3.2',
429-
type: 'Internal'
430-
}
431-
});
432-
}
425+
poll: pollAsyncJobResult
433426
}
434427
}
435428
},

0 commit comments

Comments
 (0)