Skip to content

Commit 89f7e8d

Browse files
committed
lint
1 parent a220c7f commit 89f7e8d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cli/clistat/container_linux.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ import (
1010
"golang.org/x/xerrors"
1111
)
1212

13-
var isContainerizedCacheOK atomic.Bool
14-
var isContainerizedCacheErr atomic.Error
15-
var isContainerizedCacheOnce sync.Once
13+
var (
14+
isContainerizedCacheOK atomic.Bool
15+
isContainerizedCacheErr atomic.Error
16+
isContainerizedCacheOnce sync.Once
17+
)
1618

1719
// IsContainerized returns whether the host is containerized.
1820
// This is adapted from https://github.com/elastic/go-sysinfo/tree/main/providers/linux/container.go#L31

0 commit comments

Comments
 (0)