Skip to content

Commit 94cf49e

Browse files
committed
Rename CorsBehavior to CORSBehavior
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent 581aafc commit 94cf49e

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8173,7 +8173,7 @@ func (q *FakeQuerier) InsertWorkspaceApp(_ context.Context, arg database.InsertW
81738173
Health: arg.Health,
81748174
Hidden: arg.Hidden,
81758175
DisplayOrder: arg.DisplayOrder,
8176-
CorsBehavior: arg.CorsBehavior,
8176+
CORSBehavior: arg.CORSBehavior,
81778177
}
81788178
q.workspaceApps = append(q.workspaceApps, workspaceApp)
81798179
return workspaceApp, nil

coderd/database/models.go

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/queries.sql.go

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

coderd/database/sqlc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ sql:
147147
crypto_key_feature_workspace_apps_api_key: CryptoKeyFeatureWorkspaceAppsAPIKey
148148
crypto_key_feature_oidc_convert: CryptoKeyFeatureOIDCConvert
149149
app_cors_behavior: AppCORSBehavior
150+
cors_behavior: CORSBehavior
150151
rules:
151152
- name: do-not-use-public-schema-in-queries
152153
message: "do not use public schema in queries"

coderd/provisionerdserver/provisionerdserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ func InsertWorkspaceResource(ctx context.Context, db database.Store, jobID uuid.
20152015
External: app.External,
20162016
Subdomain: app.Subdomain,
20172017
SharingLevel: sharingLevel,
2018-
CorsBehavior: corsBehavior,
2018+
CORSBehavior: corsBehavior,
20192019
HealthcheckUrl: app.Healthcheck.Url,
20202020
HealthcheckInterval: app.Healthcheck.Interval,
20212021
HealthcheckThreshold: app.Healthcheck.Threshold,

coderd/workspaceapps/request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ func (r Request) getDatabase(ctx context.Context, db database.Store) (*databaseR
372372
appSharingLevel = database.AppSharingLevelOwner
373373
}
374374
appURL = app.Url.String
375-
appCORSBehavior = app.CorsBehavior
375+
appCORSBehavior = app.CORSBehavior
376376
break
377377
}
378378
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy