Skip to content

Commit

Permalink
fix goimport
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Lehner <[email protected]>
  • Loading branch information
florianl committed Nov 28, 2023
1 parent 2b0e5b0 commit dcf15d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metric/system/cgroup/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const (
memoryStat = "memory"
)

//nolint: deadcode,structcheck,unused // needed by other platforms
// nolint: deadcode,structcheck,unused // needed by other platforms

Check failure on line 73 in metric/system/cgroup/reader.go

View workflow job for this annotation

GitHub Actions / lint-darwin

directive `// nolint: deadcode,structcheck,unused // needed by other platforms` should be written without leading space as `//nolint: deadcode,structcheck,unused // needed by other platforms` (nolintlint)

Check failure on line 73 in metric/system/cgroup/reader.go

View workflow job for this annotation

GitHub Actions / lint (linux)

directive `// nolint: deadcode,structcheck,unused // needed by other platforms` should be written without leading space as `//nolint: deadcode,structcheck,unused // needed by other platforms` (nolintlint)

Check failure on line 73 in metric/system/cgroup/reader.go

View workflow job for this annotation

GitHub Actions / lint-darwin

directive `// nolint: deadcode,structcheck,unused // needed by other platforms` should be written without leading space as `//nolint: deadcode,structcheck,unused // needed by other platforms` (nolintlint)

Check failure on line 73 in metric/system/cgroup/reader.go

View workflow job for this annotation

GitHub Actions / lint (linux)

directive `// nolint: deadcode,structcheck,unused // needed by other platforms` should be written without leading space as `//nolint: deadcode,structcheck,unused // needed by other platforms` (nolintlint)
type mount struct {
subsystem string // Subsystem name (e.g. cpuacct).
mountpoint string // Mountpoint of the subsystem (e.g. /cgroup/cpuacct).
Expand Down

0 comments on commit dcf15d6

Please sign in to comment.