fix pruner: protobuf one-ofs require non-zero value, even if no public fields

This commit is contained in:
Christian Schwarz 2018-09-24 12:26:55 +02:00
parent e3be120d88
commit ffe33aff3d

View File

@ -295,7 +295,9 @@ fsloop:
rcReq := &pdu.ReplicationCursorReq{
Filesystem: tfs.Path,
Op: &pdu.ReplicationCursorReq_Get{},
Op: &pdu.ReplicationCursorReq_Get{
Get: &pdu.ReplicationCursorReq_GetOp{},
},
}
rc, err := receiver.ReplicationCursor(ctx, rcReq)
if err != nil {