Fix hosts.toml header var

Resolves issue from 270f85e468 that prevented old hosts.toml files from being cleaned up.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/10861/head
Brad Davidson 3 months ago committed by Brad Davidson
parent 61c7011cab
commit d6c20b7452

@ -41,7 +41,7 @@ type HostConfig struct {
Endpoints []RegistryEndpoint 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 = ` const HostsTomlTemplate = `
{{- /* */ -}} {{- /* */ -}}

Loading…
Cancel
Save