mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
Merge branch '4.20' into 4.22
This commit is contained in:
commit
5504b053e4
@ -153,6 +153,8 @@ public class UpdateStoragePoolCmd extends BaseCmd {
|
||||
if (ObjectUtils.anyNotNull(name, capacityIops, capacityBytes, url, isTagARule, tags) ||
|
||||
MapUtils.isNotEmpty(details)) {
|
||||
result = _storageService.updateStoragePool(this);
|
||||
} else {
|
||||
result = _storageService.getStoragePool(getId());
|
||||
}
|
||||
|
||||
if (enabled != null) {
|
||||
|
||||
@ -251,7 +251,10 @@ class TestDirectDownloadTemplates(cloudstackTestCase):
|
||||
self.apiclient,
|
||||
id=poolId
|
||||
)
|
||||
if local_pool[0].tags:
|
||||
return local_pool[0].tags
|
||||
else:
|
||||
return ""
|
||||
|
||||
def updateStoragePoolTags(self, poolId, tags):
|
||||
StoragePool.update(
|
||||
|
||||
@ -1232,6 +1232,7 @@ export default {
|
||||
return _.map(this.affinityGroups, 'id')
|
||||
},
|
||||
params () {
|
||||
const listAll = isAdmin()
|
||||
return {
|
||||
serviceOfferings: {
|
||||
list: 'listServiceOfferings',
|
||||
@ -1279,7 +1280,7 @@ export default {
|
||||
domainid: this.owner.domainid,
|
||||
projectid: this.owner.projectid,
|
||||
keyword: undefined,
|
||||
listall: false
|
||||
listall: listAll
|
||||
}
|
||||
},
|
||||
sshKeyPairs: {
|
||||
@ -1287,8 +1288,11 @@ export default {
|
||||
options: {
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
account: this.owner.account,
|
||||
domainid: this.owner.domainid,
|
||||
projectid: this.owner.projectid,
|
||||
keyword: undefined,
|
||||
listall: false
|
||||
listall: listAll
|
||||
}
|
||||
},
|
||||
userDatas: {
|
||||
@ -1296,8 +1300,11 @@ export default {
|
||||
options: {
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
account: this.owner.account,
|
||||
domainid: this.owner.domainid,
|
||||
projectid: this.owner.projectid,
|
||||
keyword: undefined,
|
||||
listall: false
|
||||
listall: listAll
|
||||
}
|
||||
},
|
||||
networks: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user