Skip to content

Commit 0775082

Browse files
committed
remove outdated comments
1 parent 482db10 commit 0775082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/clistat/container.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func IsContainerized(fs afero.Fs) (ok bool, err error) {
2222
cgData, err := afero.ReadFile(fs, procOneCgroup)
2323
if err != nil {
2424
if os.IsNotExist(err) {
25-
return false, nil // how?
25+
return false, nil
2626
}
2727
return false, xerrors.Errorf("read file %s: %w", procOneCgroup, err)
2828
}
@@ -43,7 +43,7 @@ func IsContainerized(fs afero.Fs) (ok bool, err error) {
4343
mountsData, err := afero.ReadFile(fs, procMounts)
4444
if err != nil {
4545
if os.IsNotExist(err) {
46-
return false, nil // how??
46+
return false, nil
4747
}
4848
return false, xerrors.Errorf("read file %s: %w", procMounts, err)
4949
}

0 commit comments

Comments
 (0)