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 e06b434 commit 8e11ff9Copy full SHA for 8e11ff9
codersdk/deployment.go
@@ -162,8 +162,10 @@ func (set FeatureSet) Features() []FeatureName {
162
163
return enterpriseFeatures
164
case FeatureSetPremium:
165
- // FeatureSetPremium is a superset of Enterprise
166
- return append(FeatureSetEnterprise.Features(), FeatureMultipleOrganizations)
+ premiumFeatures := make([]FeatureName, len(FeatureNames))
+ copy(premiumFeatures, FeatureNames)
167
+ // FeatureSetPremium is just all features.
168
+ return premiumFeatures
169
}
170
// By default, return an empty set.
171
return []FeatureName{}
0 commit comments