Skip to content

Commit 8d229b9

Browse files
committedNov 18, 2021
update commented template names to match reality
1 parent 9187805 commit 8d229b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎templates/values.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var DefaultSSHTemplates = SSHTemplates{
7575

7676
// DefaultSSHTemplateData contains the data of the default templates used on ssh.
7777
var DefaultSSHTemplateData = map[string]string{
78-
// base_config.tpl adds the step ssh config file.
78+
// config.tpl adds the step ssh config file.
7979
//
8080
// Note: on windows `Include C:\...` is treated as a relative path.
8181
"config.tpl": `Host *
@@ -93,12 +93,12 @@ var DefaultSSHTemplateData = map[string]string{
9393
{{- end }}
9494
{{- end }}`,
9595

96-
// includes.tpl adds the step ssh config file.
96+
// step_includes.tpl adds the step ssh config file.
9797
//
9898
// Note: on windows `Include C:\...` is treated as a relative path.
9999
"step_includes.tpl": `{{- if or .User.GOOS "none" | eq "windows" }}Include "{{ .User.StepPath | replace "\\" "/" | trimPrefix "C:" }}/ssh/config"{{- else }}Include "{{.User.StepPath}}/ssh/config"{{- end }}`,
100100

101-
// config.tpl is the step ssh config file, it includes the Match rule and
101+
// step_config.tpl is the step ssh config file, it includes the Match rule and
102102
// references the step known_hosts file.
103103
//
104104
// Note: on windows ProxyCommand requires the full path

0 commit comments

Comments
 (0)