Merge "Able to change lb algorithm on pool updating"
This commit is contained in:
commit
39415eb614
@ -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'))
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user