From 56fa75123269cee7d09eda2a86d84d2cddbcb99a Mon Sep 17 00:00:00 2001 From: 00171108 Date: Fri, 3 Feb 2017 14:33:40 +0800 Subject: [PATCH] Fix comment for method SetForTests --- pkg/capabilities/capabilities.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/capabilities/capabilities.go b/pkg/capabilities/capabilities.go index 96146c6b093..be721a7855f 100644 --- a/pkg/capabilities/capabilities.go +++ b/pkg/capabilities/capabilities.go @@ -68,7 +68,7 @@ func Setup(allowPrivileged bool, privilegedSources PrivilegedSources, perConnect }) } -// SetCapabilitiesForTests. Convenience method for testing. This should only be called from tests. +// SetForTests sets capabilities for tests. Convenience method for testing. This should only be called from tests. func SetForTests(c Capabilities) { lock.Lock() defer lock.Unlock()