mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-21 16:03:32 +01:00
rpc: fix panic when parsing filesystem response
This commit is contained in:
parent
08370689c8
commit
9fdd1ea909
@ -245,7 +245,7 @@ func (c ByteStreamRPC) FilesystemRequest(r FilesystemRequest) (roots []Filesyste
|
||||
|
||||
roots = make([]Filesystem, 0)
|
||||
|
||||
if err = c.decoder.Decode(roots); err != nil {
|
||||
if err = c.decoder.Decode(&roots); err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user