Skip to content

Commit

Permalink
Fix hosts.toml header var
Browse files Browse the repository at this point in the history
Resolves issue from 270f85e that prevented old hosts.toml files from being cleaned up.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
brandond committed Sep 10, 2024
1 parent 61c7011 commit d6c20b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/templates/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type HostConfig struct {
Endpoints []RegistryEndpoint
}

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

const HostsTomlTemplate = `
{{- /* */ -}}
Expand Down

0 comments on commit d6c20b7

Please sign in to comment.