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

@@ -15,7 +15,7 @@ export default class HciBlockDevice extends HarvesterResource {
}
get isChildPartProvisioned() {
const parts = this.childParts.filter(p => p.isProvisioned) || [];
const parts = this.childParts.filter((p) => p.isProvisioned) || [];
return parts.length > 0;
}
@@ -55,7 +55,7 @@ export default class HciBlockDevice extends HarvesterResource {
get isFormatting() {
const conditions = this?.status?.conditions || [];
const formatting = conditions.find(c => c.type === 'Formatting') || {};
const formatting = conditions.find((c) => c.type === 'Formatting') || {};
return formatting.status === 'True';
}