Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 5fe427c

Browse files
committed
lint: Remove unused variable
1 parent d88b1e7 commit 5fe427c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

internal/cmd/shell.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,6 @@ func checkAndRebuildEnvironment(ctx context.Context, client *coder.Client, env *
204204

205205
fallthrough // Fallthrough to watching the logs
206206
case env.LatestStat.ContainerStatus == coder.EnvironmentCreating:
207-
const (
208-
// maxWait is the maxmimum amount of time the cli will wait after the build
209-
// logs complete for an environment to be 'ON'. In theory it should be 'ON' pretty
210-
// quick after the build logs, but there might be a race condition
211-
maxWait = time.Second
212-
)
213207
// Environment is in the process of being created, just trail the logs
214208
// and wait until it is done
215209
clog.LogInfo(fmt.Sprintf("Environment %q is in the process of being built.", env.Name))

0 commit comments

Comments
 (0)