mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
Json tags to some structs were missing. Fix ServerRep reply on the server.
This commit is contained in:
+2
-4
@@ -27,10 +27,8 @@ import (
|
||||
type serverRPCService struct{}
|
||||
|
||||
func (s *serverRPCService) Add(r *http.Request, arg *ServerArg, rep *ServerRep) error {
|
||||
rep = &ServerRep{
|
||||
Host: "192.168.1.1:9002",
|
||||
ID: "6F27CB16-493D-40FA-B035-2A2E5646066A",
|
||||
}
|
||||
rep.Host = "192.168.1.1:9002"
|
||||
rep.ID = "6F27CB16-493D-40FA-B035-2A2E5646066A"
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user