forked from TrueCloudLab/frostfs-node
[#148] linter: Add funlen linter
Long functions are hard to understand and source of errors Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
cc8ff015b4
commit
97c36ed3ec
52 changed files with 76 additions and 0 deletions
|
@ -135,6 +135,7 @@ func (c *cfg) addressNum() int {
|
|||
return 0
|
||||
}
|
||||
|
||||
// nolint: funlen
|
||||
func initNetmapService(c *cfg) {
|
||||
network.WriteToNodeInfo(c.localAddr, &c.cfgNodeInfo.localInfo)
|
||||
c.cfgNodeInfo.localInfo.SetPublicKey(c.key.PublicKey().Bytes())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue