Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia committed 2024-10-23 17:00:47 +02:00
1 parent 4f2688f6ab
commit c983ed8384
101 files changed
+186 -189

No files matched your search

@@ -1,6 +1,6 @@
import { clone } from '@shell/utils/object';
import { HCI } from '../../types';
import NetworkAttachmentDef from '@pkg/harvester/models/k8s.cni.cncf.io.networkattachmentdefinition';
import { HCI } from '../../types';
import { PRODUCT_NAME as HARVESTER_PRODUCT } from '../../config/harvester';
const NOT_READY = 'Not Ready';
@@ -56,7 +56,7 @@ export default class HarvesterNetworkAttachmentDef extends NetworkAttachmentDef
get clusterNetworkResource() {
const clusterNetworks = this.$rootGetters[`${ this.inStore }/all`](HCI.CLUSTER_NETWORK);
return clusterNetworks.find((c) => c.id === this.clusterNetwork);
return clusterNetworks.find(c => c.id === this.clusterNetwork);
}
get clusterNetworkErrorMessage() {