Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Fix up incorrect output formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Jul 31, 2020
1 parent 00bc020 commit c197624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ipam/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}
2 changes: 1 addition & 1 deletion test/images/network-tester/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c197624

Please sign in to comment.