Fix up incorrect output formatting
This commit is contained in:
1 parent
00bc020498
commit
c197624689
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -204,6 +204,6 @@ func (alloc *Allocator) HandleHTTP(router *mux.Router, defaultSubnet address.CID
|
||||
if alloc.tracker != nil {
|
||||
tracker = alloc.tracker.String()
|
||||
}
|
||||
fmt.Fprintf(w, tracker)
|
||||
fmt.Fprintln(w, tracker)
|
||||
})
|
||||
}
|
||||
@@ -91,7 +91,7 @@ func (s *State) serveClientIP(w http.ResponseWriter, r *http.Request) {
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
}
|
||||
|
||||
fmt.Fprintf(w, host)
|
||||
fmt.Fprintln(w, host)
|
||||
}
|
||||
|
||||
// serveRead writes our json encoded state
|
||||
|
||||
Reference in new issue
Block a user