Skip to content

Commit 1bcac73

Browse files
committed
typo
1 parent 719eb4d commit 1bcac73

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

coderd/database/dump.sql

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/migrations/000050_workspace_app_health.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CREATE TYPE workspace_app_health AS ENUM ('disabled', 'intializing', 'healthy', 'unhealthy');
1+
CREATE TYPE workspace_app_health AS ENUM ('disabled', 'initializing', 'healthy', 'unhealthy');
22

33
ALTER TABLE ONLY workspace_apps
44
ADD COLUMN IF NOT EXISTS updated_at timestamptz NOT NULL DEFAULT '-infinity',

coderd/database/models.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/workspaceapps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ func (api *API) postWorkspaceAppHealths(rw http.ResponseWriter, r *http.Request)
299299

300300
switch health {
301301
case codersdk.WorkspaceAppHealthInitializing:
302-
found.Health = database.WorkspaceAppHealthIntializing
302+
found.Health = database.WorkspaceAppHealthInitializing
303303
case codersdk.WorkspaceAppHealthHealthy:
304304
found.Health = database.WorkspaceAppHealthHealthy
305305
case codersdk.WorkspaceAppHealthUnhealthy:

0 commit comments

Comments
 (0)