Merge "Able to change lb algorithm on pool updating"

This commit is contained in:
Jenkins 2017-09-20 01:23:20 +00:00 committed by Gerrit Code Review
commit 39415eb614
2 changed files with 2 additions and 1 deletions

View File

@ -334,6 +334,7 @@ def update_pool(request, **kwargs):
conn = _get_sdk_connection(request)
pool = conn.load_balancer.update_pool(
pool=pool_id,
lb_algorithm=data['pool']['method'],
name=data['pool'].get('name'),
description=data['pool'].get('description'))

View File

@ -32,7 +32,7 @@
<select class="form-control" name="method" id="method"
ng-options="method for method in model.methods"
ng-model="model.spec.pool.method"
ng-disabled="model.context.id" ng-required="true">
ng-required="true">
</select>
</div>
</div>