Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Rename local pools to built-in #275

Merged
merged 1 commit into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion coder-sdk/workspace_providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type KubernetesProvider struct {
ID string `json:"id" table:"-"`
Name string `json:"name" table:"Name"`
Status WorkspaceProviderStatus `json:"status" table:"Status"`
Local bool `json:"local" table:"-"`
BuiltIn bool `json:"built_in" table:"-"`
EnvproxyAccessURL string `json:"envproxy_access_url" validate:"required" table:"Access URL"`
DevurlHost string `json:"devurl_host" table:"Devurl Host"`
OrgWhitelist []string `json:"org_whitelist" table:"-"`
Expand Down
2 changes: 1 addition & 1 deletion internal/coderutil/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func DefaultWorkspaceProvider(ctx context.Context, c coder.Client) (*coder.Kuber
return nil, err
}
for _, p := range provider.Kubernetes {
if p.Local {
if p.BuiltIn {
return &p, nil
}
}
Expand Down