Merge pull request #6088 from AkihiroSuda/pkg-cap-fix-comment

pkg/cap: remove an outdated comment
This commit is contained in:
Phil Estes 2021-10-06 10:01:20 -04:00 committed by GitHub
commit 7b2a5f1c0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {