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

chore: use access url from env resource pool #216

Merged
merged 10 commits into from
Jan 15, 2021
Prev Previous commit
fixup! fix: use proper SSH enabled bool flag
  • Loading branch information
cmoog committed Jan 14, 2021
commit 4dea056a78776cb77c4ea241fa68af11a8acb08d
2 changes: 1 addition & 1 deletion internal/cmd/configssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func makeNewConfigs(userName string, envs []coderutil.EnvWithPool, privateKeyFil
newConfig := fmt.Sprintf("\n%s\n%s\n\n", sshStartToken, sshStartMessage)
for _, env := range envs {
if !env.Pool.SSHEnabled {
clog.LogWarn(fmt.Sprintf("SSH access is not enabled for pool %q", env.Pool.Name),
clog.LogWarn(fmt.Sprintf("SSH is not enabled for pool %q", env.Pool.Name),
clog.BlankLine,
clog.Tipf("ask an infrastructure administrator to enable SSH for this resource pool"),
)
Expand Down