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