Skip to content
Snippets Groups Projects
Unverified Commit 8f32cf40 authored by OpenShift Merge Robot's avatar OpenShift Merge Robot Committed by GitHub
Browse files

Merge pull request #44 from baude/usetabs

use tabs not spaces
parents 4d5db286 41f75013
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