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
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Commit31f2c83

Browse files
committed
Rename heatbeat to heartbeat.
This may be unnecessary if heatbeat is an inside joke. :)
1 parentd9a77ea commit31f2c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cmd/coder/shell.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func runCommand(ctx context.Context, envName string, command string, args []stri
127127
iferr!=nil {
128128
returnerr
129129
}
130-
goheatbeat(ctx,conn,15*time.Second)
130+
goheartbeat(ctx,conn,15*time.Second)
131131

132132
execer:=wsep.RemoteExecer(conn)
133133
process,err:=execer.Start(ctx, wsep.Command{
@@ -175,7 +175,7 @@ func runCommand(ctx context.Context, envName string, command string, args []stri
175175
returnerr
176176
}
177177

178-
funcheatbeat(ctx context.Context,c*websocket.Conn,interval time.Duration) {
178+
funcheartbeat(ctx context.Context,c*websocket.Conn,interval time.Duration) {
179179
ticker:=time.NewTicker(interval)
180180
deferticker.Stop()
181181

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp