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

Commit20ecf88

Browse files
committed
Fix some accidental renameS
1 parent900709b commit20ecf88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎coderd/coderd.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ type Options struct {
8686
// It will use the same scheme and port number as the access URL.
8787
// E.g. "*.apps.coder.com" or "*-apps.coder.com".
8888
AppHostnamestring
89-
// AppHostnameRegex contains the regex version of options.Hostname as
89+
// AppHostnameRegex contains the regex version of options.AppHostname as
9090
// generated by httpapi.CompileHostnamePattern(). It MUST be set if
91-
// options.Hostname is set.
91+
// options.AppHostname is set.
9292
AppHostnameRegex*regexp.Regexp
9393
Logger slog.Logger
9494
Database database.Store
@@ -183,7 +183,7 @@ func New(options *Options) *API {
183183
options.Logger,options.DeploymentValues.Experiments.Value(),
184184
)
185185
ifoptions.AppHostname!=""&&options.AppHostnameRegex==nil||options.AppHostname==""&&options.AppHostnameRegex!=nil {
186-
panic("coderd: bothHostname andHostnameRegex must be set or unset")
186+
panic("coderd: bothAppHostname andAppHostnameRegex must be set or unset")
187187
}
188188
ifoptions.AgentConnectionUpdateFrequency==0 {
189189
options.AgentConnectionUpdateFrequency=3*time.Second

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp