[#199] sdk/container: Correct linter's remarks
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
7611c218e3
commit
459d295788
2 changed files with 2 additions and 6 deletions
|
@ -15,6 +15,7 @@ type Container struct {
|
|||
|
||||
func New(opts ...NewOption) *Container {
|
||||
cnrOptions := defaultContainerOptions()
|
||||
|
||||
for i := range opts {
|
||||
opts[i].apply(&cnrOptions)
|
||||
}
|
||||
|
@ -36,7 +37,7 @@ func New(opts ...NewOption) *Container {
|
|||
return cnr
|
||||
}
|
||||
|
||||
func (c Container) ToV2() *container.Container {
|
||||
func (c *Container) ToV2() *container.Container {
|
||||
return &c.v2
|
||||
}
|
||||
|
||||
|
|
|
@ -12,11 +12,6 @@ type (
|
|||
apply(*containerOptions)
|
||||
}
|
||||
|
||||
attribute struct {
|
||||
key string
|
||||
value string
|
||||
}
|
||||
|
||||
containerOptions struct {
|
||||
acl uint32
|
||||
policy *netmap.PlacementPolicy
|
||||
|
|
Loading…
Reference in a new issue