Lint fixes

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia authored and Andy Lee committed 2024-10-31 16:48:24 +08:00
1 parent 8d4fde7451
commit 42c8dfa001
214 files changed
+3162 -1298

No files matched your search

@@ -59,7 +59,7 @@ export default class HciVmBackup extends HarvesterResource {
const schema = this.$getters['schemaFor'](HCI.VM);
let canCreateVM = true;
if ( schema && !schema?.collectionMethods.find(x => ['post'].includes(x.toLowerCase())) ) {
if ( schema && !schema?.collectionMethods.find((x) => ['post'].includes(x.toLowerCase())) ) {
canCreateVM = false;
}
@@ -158,7 +158,7 @@ export default class HciVmBackup extends HarvesterResource {
get attachVmExisting() {
const vmList = this.$rootGetters['harvester/all'](HCI.VM);
return !!vmList.find( V => V.metadata.name === this.attachVM);
return !!vmList.find( (V) => V.metadata.name === this.attachVM);
}
remove() {