Skip to content

Commit d6c20b7

Browse files
committed
Fix hosts.toml header var
Resolves issue from 270f85e that prevented old hosts.toml files from being cleaned up. Signed-off-by: Brad Davidson <[email protected]>
1 parent 61c7011 commit d6c20b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/agent/templates/templates.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type HostConfig struct {
4141
Endpoints []RegistryEndpoint
4242
}
4343

44-
var HostsTomlHeader = "# File generated by " + version.Program + ". DO NOT EDIT."
44+
var HostsTomlHeader = "# File generated by " + version.Program + ". DO NOT EDIT.\n"
4545

4646
const HostsTomlTemplate = `
4747
{{- /* */ -}}

0 commit comments

Comments
 (0)