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

Commit adabeef

Browse files
authored
Rename local pools to built-in (#275)
1 parent 4706c84 commit adabeef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coder-sdk/workspace_providers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type KubernetesProvider struct {
1515
ID string `json:"id" table:"-"`
1616
Name string `json:"name" table:"Name"`
1717
Status WorkspaceProviderStatus `json:"status" table:"Status"`
18-
Local bool `json:"local" table:"-"`
18+
BuiltIn bool `json:"built_in" table:"-"`
1919
EnvproxyAccessURL string `json:"envproxy_access_url" validate:"required" table:"Access URL"`
2020
DevurlHost string `json:"devurl_host" table:"Devurl Host"`
2121
OrgWhitelist []string `json:"org_whitelist" table:"-"`

internal/coderutil/env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func DefaultWorkspaceProvider(ctx context.Context, c coder.Client) (*coder.Kuber
6666
return nil, err
6767
}
6868
for _, p := range provider.Kubernetes {
69-
if p.Local {
69+
if p.BuiltIn {
7070
return &p, nil
7171
}
7272
}

0 commit comments

Comments
 (0)