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 {
if o != nil {
return o.val
func (c *ContainerID) GetValue() []byte {
if c != nil {
return c.val
}
return nil
}
func (o *ContainerID) SetValue(v []byte) {
if o != nil {
o.val = v
func (c *ContainerID) SetValue(v []byte) {
if c != nil {
c.val = v
}
}