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
|
@ -339,6 +339,8 @@ func initFlagSession(cmd *cobra.Command, verb string) {
|
|||
// container.
|
||||
//
|
||||
// The object itself is not included in the result.
|
||||
//
|
||||
// nolint: funlen
|
||||
func collectObjectRelatives(cmd *cobra.Command, cli *client.Client, cnr cid.ID, obj oid.ID) []oid.ID {
|
||||
common.PrintVerbose(cmd, "Fetching raw object header...")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue