@stolostron/multicluster-sdk
Version:
Provides extensions and APIs that dynamic plugins can use to leverage multicluster capabilities provided by Red Hat Advanced Cluster Management.
8 lines • 390 B
JavaScript
;
/* Copyright Contributors to the Open Cluster Management project */
Object.defineProperty(exports, "__esModule", { value: true });
exports.shouldUseFleetSupport = shouldUseFleetSupport;
function shouldUseFleetSupport(fleetSupport, cluster) {
return !!fleetSupport && !!cluster && cluster !== fleetSupport.hubClusterName;
}
//# sourceMappingURL=shouldUseFleetSupport.js.map