Fixing formatting
This commit is contained in:
parent
5146eb7c3b
commit
564cd5cbbe
|
@ -127,7 +127,6 @@ func GetIPStr(r *http.Request) string {
|
||||||
return ra
|
return ra
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (server *RPCServer) writeResponse(canGzip bool, w http.ResponseWriter, payload []byte) {
|
func (server *RPCServer) writeResponse(canGzip bool, w http.ResponseWriter, payload []byte) {
|
||||||
if len(payload) == 0 {
|
if len(payload) == 0 {
|
||||||
server.logger.Error(nil, "Nothing was written to response!")
|
server.logger.Error(nil, "Nothing was written to response!")
|
||||||
|
@ -289,4 +288,3 @@ func parseVersionHeader(header string) (string, int) {
|
||||||
|
|
||||||
return cltVersion, cltPlatform
|
return cltVersion, cltPlatform
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue