forked from TrueCloudLab/frostfs-node
[#1689] linter: Fix staticcheck warning: 'methods on the same type should have the same receiver name'
Change-Id: I25e9432987f73061c1506a184a82065e37885861 Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
faec499b38
commit
c274bbeb7c
2 changed files with 23 additions and 23 deletions
|
@ -56,8 +56,8 @@ func NewService(ks *objutil.KeyStorage,
|
|||
}
|
||||
}
|
||||
|
||||
func (p *Service) Put() (*Streamer, error) {
|
||||
func (s *Service) Put() (*Streamer, error) {
|
||||
return &Streamer{
|
||||
Config: p.Config,
|
||||
Config: s.Config,
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue