Commit 56fa7512 authored by 00171108's avatar 00171108 Committed by SongRuixia

Fix comment for method SetForTests

parent 844407e6
...@@ -68,7 +68,7 @@ func Setup(allowPrivileged bool, privilegedSources PrivilegedSources, perConnect ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment