Same as defaulting allow-privileged to true

Change-Id: Ib0337bd4eabf9c0cc0d3b0c5a865ed0c468ba370
This commit is contained in:
Davanum Srinivas
2019-05-13 17:10:22 -04:00
parent 9ba0d47465
commit c7dcb61e80
3 changed files with 7 additions and 2 deletions

View File

@@ -61,10 +61,9 @@ func Initialize(c Capabilities) {
}
// Setup the capability set. It wraps Initialize for improving usability.
func Setup(allowPrivileged bool, privilegedSources PrivilegedSources, perConnectionBytesPerSec int64) {
func Setup(allowPrivileged bool, perConnectionBytesPerSec int64) {
Initialize(Capabilities{
AllowPrivileged: allowPrivileged,
PrivilegedSources: privilegedSources,
PerConnectionBandwidthLimitBytesPerSec: perConnectionBytesPerSec,
})
}