forked from TrueCloudLab/frostfs-api-go
Fix pointer name in container id methods
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
e599468420
commit
65e5457a21
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue