Skip to content

Commit b601b8d

Browse files
Ahmet OeztuerkAhmet Oeztuerk
authored andcommitted
linter: ignore function length
1 parent 24d7da0 commit b601b8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/snclient/check_drivesize.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ func (l *CheckDrivesize) Build() *CheckData {
152152
}
153153
}
154154

155+
//nolint:funlen // no need to split the function, it is simple as is
155156
func (l *CheckDrivesize) Check(ctx context.Context, snc *Agent, check *CheckData, _ []Argument) (*CheckResult, error) {
156157
enabled, _, _ := snc.config.Section("/modules").GetBool("CheckDisk")
157158
if !enabled {

0 commit comments

Comments
 (0)