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

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
support/v0.27
Leonard Lyubich 2020-10-03 11:50:38 +03:00 committed by Alex Vanin
parent 6fe6005e71
commit 2b16edebc9
1 changed files with 1 additions and 0 deletions

View File

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