Skip to content
Snippets Groups Projects
Commit 41f75013 authored by baude's avatar baude
Browse files

use tabs not spaces


dnsmasq requires the use of tabs

Signed-off-by: default avatarbaude <bbaude@redhat.com>
parent 4d5db286
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ func appendToFile(path, podname string, aliases []string, ips []*net.IPNet) erro ...@@ -100,7 +100,7 @@ func appendToFile(path, podname string, aliases []string, ips []*net.IPNet) erro
for _, ip := range ips { for _, ip := range ips {
entry := fmt.Sprintf("%s\t%s", ip.IP.String(), podname) entry := fmt.Sprintf("%s\t%s", ip.IP.String(), podname)
for _, alias := range aliases { for _, alias := range aliases {
entry += fmt.Sprintf(" %s", alias) entry += fmt.Sprintf("\t%s", alias)
} }
entry += "\n" entry += "\n"
if _, err = f.WriteString(entry); err != nil { if _, err = f.WriteString(entry); err != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment