Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit94cf49e

Browse files
committed
Rename CorsBehavior to CORSBehavior
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent581aafc commit94cf49e

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
returnworkspaceApp,nil

‎coderd/database/models.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing 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 aboutcustomizing 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)

[8]ページ先頭

©2009-2025 Movatter.jp