Ugh, marshal needs a pointer, derrrr
parent
ac2e0a6a8c
commit
bdea460f06
|
@ -546,7 +546,7 @@ func (self *Client) GetShardSpaces() ([]*ShardSpace, error) {
|
|||
return nil, err
|
||||
}
|
||||
spaces := []*ShardSpace{}
|
||||
err = json.Unmarshal(body, spaces)
|
||||
err = json.Unmarshal(body, &spaces)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue