bug 11798

Fix create LB sticky being called twice
This commit is contained in:
bfederle 2012-01-24 13:48:45 -08:00
parent eff786bcad
commit 0f6619a8ce
1 changed files with 9 additions and 1 deletions

View File

@ -1486,6 +1486,8 @@
dataType: 'json',
async: true,
success: function(data) {
var lbCreationComplete = false;
args.response.success({
fullRefresh: true,
_custom: {
@ -1499,7 +1501,13 @@
pollAsyncJobResult({
_custom: args._custom,
complete: function(args) {
complete: function(args) {
if (lbCreationComplete) {
return;
}
lbCreationComplete = true;
// Create stickiness policy
if (stickyData &&
stickyData.methodname &&