diff --git a/model/product_notices.go b/model/product_notices.go index c2a38780cc..6aa88fc7ec 100644 --- a/model/product_notices.go +++ b/model/product_notices.go @@ -160,6 +160,9 @@ func (t *NoticeInstanceType) Matches(isCloud bool) bool { if *t == NoticeInstanceType_Cloud && !isCloud { return false } + if *t == NoticeInstanceType_OnPrem && isCloud { + return false + } return true }