We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 693a18d commit 841bb30Copy full SHA for 841bb30
server/src/addons/plugins/plugin.ts
@@ -139,6 +139,10 @@ export abstract class Plugin {
139
}
140
141
private loadOperatorData(availableOperators: any): any {
142
+ // Ensure availableOperators is iterable (array)
143
+ if (!Array.isArray(availableOperators)) {
144
+ return undefined;
145
+ }
146
//console.log(this.constructor.name, 'loading operator data -------------------');
147
for (const operatorCRD of availableOperators) {
148
//console.log(operatorCRD.spec.names.kind, this.constructor.name) // debug CRD
0 commit comments