Skip to content

Commit c5341b3

Browse files
committed
OCPBUGS-14481: update check for the 'provider' label on the PackageManifest when installing operators
1 parent e7e56f1 commit c5341b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/packages/operator-lifecycle-manager/src/components/operator-hub/operator-hub-subscribe.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ export const OperatorHubSubscribeForm: React.FC<OperatorHubSubscribeFormProps> =
643643
isChecked={enableMonitoring}
644644
data-checked-state={enableMonitoring}
645645
/>
646-
{props.packageManifest.data[0].metadata.labels['opsrc-provider'] !== 'redhat' && (
646+
{!props.packageManifest.data[0].metadata.labels.provider?.includes('Red Hat') && (
647647
<Alert
648648
isInline
649649
className="co-alert pf-v5-c-alert--top-margin"

0 commit comments

Comments
 (0)