From 65e5457a21f8096ed921b646dd1ab081422c92ec Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 17 Aug 2020 13:39:21 +0300 Subject: [PATCH] Fix pointer name in container id methods Signed-off-by: Alex Vanin --- v2/refs/types.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/v2/refs/types.go b/v2/refs/types.go index dd21c44f..269edf42 100644 --- a/v2/refs/types.go +++ b/v2/refs/types.go @@ -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 } }