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

Skip to content

Commit 6bac0ba

Browse files
Use command-specific env var prefix
Co-authored-by: Mathias Fredriksson <[email protected]>
1 parent 8b43811 commit 6bac0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/ssh.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ func (r *RootCmd) ssh() *serpent.Command {
484484
},
485485
{
486486
Flag: "ssh-host-prefix",
487-
Env: "CODER_CONFIGSSH_SSH_HOST_PREFIX",
487+
Env: "CODER_SSH_SSH_HOST_PREFIX",
488488
Description: "Strip this prefix from the provided hostname to determine the workspace name.",
489489
Value: serpent.StringOf(&hostPrefix),
490490
},

0 commit comments

Comments
 (0)