Fix pointer name in container id methods

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-08-17 13:39:21 +03:00 committed by Stanislav Bogatyrev
parent e599468420
commit 65e5457a21

View file

@ -32,17 +32,17 @@ func (o *OwnerID) SetValue(v []byte) {
} }
} }
func (o *ContainerID) GetValue() []byte { func (c *ContainerID) GetValue() []byte {
if o != nil { if c != nil {
return o.val return c.val
} }
return nil return nil
} }
func (o *ContainerID) SetValue(v []byte) { func (c *ContainerID) SetValue(v []byte) {
if o != nil { if c != nil {
o.val = v c.val = v
} }
} }