Skip to content

Commit a061d49

Browse files
committed
Add a final \n on the json output for better readability
1 parent 48b60e6 commit a061d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discovery_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ func (d *DiscoveryServer) output(msg interface{}) {
288288
})
289289
} else {
290290
d.outMutex.Lock()
291-
d.out.Write(data)
291+
fmt.Fprintln(d.out, string(data))
292292
d.outMutex.Unlock()
293293
}
294294
}

0 commit comments

Comments
 (0)