Unify permission usage.
This commit is contained in:
parent
367aebeee5
commit
2dc93f1370
4 changed files with 63 additions and 78 deletions
|
|
@ -142,9 +142,10 @@ public class PoolManager extends
|
|||
V1ObjectMeta metadata = response.object.getMetadata();
|
||||
vmPool.setName(metadata.getName());
|
||||
|
||||
// If modified, merge changes
|
||||
// If modified, merge changes and notify
|
||||
if (type == ResponseType.MODIFIED && pools.containsKey(poolName)) {
|
||||
pools.get(poolName).setPermissions(vmPool.permissions());
|
||||
poolPipeline.fire(new VmPoolChanged(vmPool));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue