From 703b86533b3348584124f42e3e39524d3f911121 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Wed, 6 Oct 2021 13:24:22 +0900 Subject: [PATCH] pkg/cap: remove an outdated comment pkg/cap no longer depends on github.com/syndtr/gocapability Signed-off-by: Akihiro Suda --- pkg/cap/cap_linux.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/cap/cap_linux.go b/pkg/cap/cap_linux.go index 35772a4d8..9c37fba16 100644 --- a/pkg/cap/cap_linux.go +++ b/pkg/cap/cap_linux.go @@ -117,9 +117,6 @@ func ParseProcPIDStatus(r io.Reader) (map[Type]uint64, error) { // the current process. // // The result is like []string{"CAP_SYS_ADMIN", ...}. -// -// The result does not contain caps that are not recognized by -// the "github.com/syndtr/gocapability" library. func Current() ([]string, error) { f, err := os.Open("/proc/self/status") if err != nil {