Skip to content

chore: restore gofmt-clean state on main #532

@aftersnow

Description

@aftersnow

Problem

Current main is not gofmt-clean.

Reproduced on 1d480ded52ab1bda1aea3d03a452ed901325344d:

gofmt -l $(git ls-files '*.go')

Output:

pkg/envinfo/cgroup_linux.go
pkg/envinfo/cgroup_linux_test.go
pkg/envinfo/cgroup_other.go
pkg/iometrics/tracker.go

go test ./... passes, so this is currently a formatting hygiene issue rather than a functional test failure. It can still create noisy local diffs because make test runs go fmt ./... before tests.

Expected behavior

gofmt -l $(git ls-files '*.go') should produce no output on main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions