Skip to content

Commit b342dd1

Browse files
Fix typo.
1 parent 942cb94 commit b342dd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etchosts/etchosts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var (
3737
}
3838
)
3939

40-
// BuildEtcHosts builds CONTAINER_TASK_DIR/etc_hosts with defaults.
40+
// BuildEtcHosts builds NOMAD_TASK_DIR/etc_hosts with defaults.
4141
func BuildEtcHosts(hostsFile string) error {
4242
content := bytes.NewBuffer(nil)
4343

@@ -51,7 +51,7 @@ func BuildEtcHosts(hostsFile string) error {
5151
return ioutil.WriteFile(hostsFile, content.Bytes(), 0644)
5252
}
5353

54-
// CopyEtcHosts copies /etc/hosts to CONTAINER_TASK_DIR/etc_hosts
54+
// CopyEtcHosts copies /etc/hosts to NOMAD_TASK_DIR/etc_hosts
5555
func CopyEtcHosts(hostsFile string) error {
5656
srcFile, err := os.Open("/etc/hosts")
5757
if err != nil {

0 commit comments

Comments
 (0)