Merge branch '4.22'

This commit is contained in:
Suresh Kumar Anaparti 2025-11-06 14:41:59 +05:30
commit 81b2c38be9
No known key found for this signature in database
GPG Key ID: D7CEAE3A9E71D0AA
3 changed files with 17 additions and 4 deletions

View File

@ -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) {

View File

@ -251,7 +251,10 @@ class TestDirectDownloadTemplates(cloudstackTestCase):
self.apiclient,
id=poolId
)
return local_pool[0].tags
if local_pool[0].tags:
return local_pool[0].tags
else:
return ""
def updateStoragePoolTags(self, poolId, tags):
StoragePool.update(

View File

@ -928,6 +928,7 @@
import { ref, reactive, toRaw, nextTick, h } from 'vue'
import { Button, message } from 'ant-design-vue'
import { getAPI, postAPI } from '@/api'
import { isAdmin } from '@/role'
import _ from 'lodash'
import { mixin, mixinDevice } from '@/utils/mixin.js'
import store from '@/store'
@ -1232,6 +1233,7 @@ export default {
return _.map(this.affinityGroups, 'id')
},
params () {
const listAll = isAdmin()
return {
serviceOfferings: {
list: 'listServiceOfferings',
@ -1279,7 +1281,7 @@ export default {
domainid: this.owner.domainid,
projectid: this.owner.projectid,
keyword: undefined,
listall: false
listall: listAll
}
},
sshKeyPairs: {
@ -1287,8 +1289,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 +1301,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: {