Refactoring: resolve frostfs-node innerring linters #185
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#185
Loading…
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:refactoring/object-3610-innerring"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ac24167034
to8a518bf7c6
8a518bf7c6
tob3d9ebcc35
0c3b479021
toab71da0b96
daf312c511
to7e103f33e5
WIP: Refactoring: resolve frostfs-node innerring lintersto Refactoring: resolve frostfs-node innerring linters@ -52,96 +52,56 @@ const (
lastLetterNum
)
var glagolicLetterToString = map[GlagoliticLetter]string{
Have you considered using https://pkg.go.dev/golang.org/x/tools/cmd/stringer ?
It supports custom names with
// az
comment, if we need them.No, i haven't.
This tool doesn't support default values as is see
@ -55,0 +88,4 @@
yat: "yat",
jo: "jo",
yu: "yu",
smallYus: "small.yus",
BTW, we can have a problem with NNS on a big cluster, must not forget.
@ -172,3 +142,1 @@
if err := starter(); err != nil {
return err
}
err = s.startStarters()
Nice name!
What about this?
Could require more refactoring, though.
IMHO it's overengineered and overgeneralized. just renamed function.
205a663681
tod161f83613