mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge remote-tracking branch 'apache/4.15'
This commit is contained in:
commit
b104aca587
@ -3260,7 +3260,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S
|
||||
long accountTemplateDirSize = 0;
|
||||
File accountTemplateDir = new File(rootDir + getTemplatePathForAccount(accountId));
|
||||
if (accountTemplateDir.exists()) {
|
||||
FileUtils.sizeOfDirectory(accountTemplateDir);
|
||||
accountTemplateDirSize = FileUtils.sizeOfDirectory(accountTemplateDir);
|
||||
}
|
||||
long accountVolumeDirSize = 0;
|
||||
File accountVolumeDir = new File(rootDir + getVolumePathForAccount(accountId));
|
||||
|
||||
@ -837,6 +837,9 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!('requireshvm' in params)) { // handled as default true by API
|
||||
params.requireshvm = false
|
||||
}
|
||||
if (this.currentForm === 'Create') {
|
||||
this.loading = true
|
||||
api('registerTemplate', params).then(json => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user