[#70] object/put: Fix NPE caused by nil FormatValidator

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-03 11:50:38 +03:00 committed by Alex Vanin
parent 6fe6005e71
commit 2b16edebc9

View file

@ -138,6 +138,7 @@ func (p *Streamer) newCommonTarget(prm *PutInitPrm) transformer.ObjectTarget {
}
}
},
fmt: p.fmtValidator,
}
}