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

Commitb552267

Browse files
committed
chore: lint
1 parent1e6899f commitb552267

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cli/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ func templateHelpers(options *coderd.Options) map[string]any {
13101310
"base_url":func()string {returnoptions.AccessURL.String() },
13111311
"current_year":func()string {returnstrconv.Itoa(time.Now().Year()) },
13121312
"logo_url":func()string {
1313-
ctx,cancel:=context.WithTimeout(context.Background(),1*time.Second)
1313+
ctx,cancel:=context.WithTimeout(context.Background(),1*time.Second)
13141314
defercancel()
13151315

13161316
logoURL,err:=options.Database.GetLogoURL(ctx)
@@ -1325,7 +1325,7 @@ func templateHelpers(options *coderd.Options) map[string]any {
13251325
returnlogoURL
13261326
},
13271327
"app_name":func()string {
1328-
ctx,cancel:=context.WithTimeout(context.Background(),1*time.Second)
1328+
ctx,cancel:=context.WithTimeout(context.Background(),1*time.Second)
13291329
defercancel()
13301330

13311331
appName,err:=options.Database.GetApplicationName(ctx)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp