Skip to content

Commit 4b907b9

Browse files
committed
chore: use pointer of uint inside v1 structures
1 parent ba73ed0 commit 4b907b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/commands/internal/migrate/versionone/linters_settings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ type MustTagSettings struct {
489489
}
490490

491491
type NakedretSettings struct {
492-
MaxFuncLines uint `mapstructure:"max-func-lines"`
492+
MaxFuncLines *uint `mapstructure:"max-func-lines"`
493493
}
494494

495495
type NestifSettings struct {

0 commit comments

Comments
 (0)