Skip to content

Commit a50b9a8

Browse files
committed
Fix lint
1 parent e8bc225 commit a50b9a8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.golangci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,3 @@ issues:
111111
linters:
112112
- staticcheck
113113
text: "svc.IsAnInteractiveSession is deprecated: Use IsWindowsService instead."
114-
- path: models/unit/unit.go
115-
linters:
116-
- typecheck

models/unit/unit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
// UnitType is Unit's Type
16-
type UnitType int
16+
type UnitType int // nolint: golint
1717

1818
// Enumerate all the unit types
1919
const (

0 commit comments

Comments
 (0)