Skip to content

Commit 74365e0

Browse files
committed
Output json in the correct stream...
1 parent c18cb86 commit 74365e0

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
@@ -311,7 +311,7 @@ func (d *DiscoveryServer) output(msg interface{}) {
311311
})
312312
} else {
313313
d.outMutex.Lock()
314-
fmt.Println(string(data))
314+
d.out.Write(data)
315315
d.outMutex.Unlock()
316316
}
317317
}

0 commit comments

Comments
 (0)