feat: add experimental flag (#4364)

This commit is contained in:
Garrett Delfosse
2022-10-04 15:45:00 -04:00
committed by GitHub
parent 18b282cabb
commit ffbaa93722
12 changed files with 55 additions and 9 deletions

View File

@ -237,9 +237,10 @@ func (api *API) serveEntitlements(rw http.ResponseWriter, r *http.Request) {
api.entitlementsMu.RUnlock()
resp := codersdk.Entitlements{
Features: make(map[string]codersdk.Feature),
Warnings: make([]string, 0),
HasLicense: entitlements.hasLicense,
Features: make(map[string]codersdk.Feature),
Warnings: make([]string, 0),
HasLicense: entitlements.hasLicense,
Experimental: api.Experimental,
}
if entitlements.activeUsers.Limit != nil {