forked from TrueCloudLab/frostfs-api-go
Fix short header version setter stack overflow
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
e0eb67bac8
commit
61c536148d
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ func (h *ShortHeader) GetVersion() *service.Version {
|
|||
|
||||
func (h *ShortHeader) SetVersion(v *service.Version) {
|
||||
if h != nil {
|
||||
h.SetVersion(v)
|
||||
h.version = v
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue