Merge pull request #40912 from yu-song/fix_comment

Automatic merge from submit-queue

Fix comment for method SetForTests

cc @dchen1107
This commit is contained in:
Kubernetes Submit Queue 2017-02-14 20:13:36 -08:00 committed by GitHub
commit a197fbdf2d

View File

@ -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) { func SetForTests(c Capabilities) {
lock.Lock() lock.Lock()
defer lock.Unlock() defer lock.Unlock()