Fix golint warnings for daemon/execdriver/*
Addresses: #14756 Signed-off-by: Qiang Huang <h.huangqiang@huawei.com> Upstream-commit: 3d17c3bb663a5d7a65bd39a5ef32cb4668b48c53 Component: engine
This commit is contained in:
@ -12,6 +12,7 @@ import (
|
||||
"github.com/docker/docker/pkg/sysinfo"
|
||||
)
|
||||
|
||||
// NewDriver returns a new execdriver.Driver from the given name configured with the provided options.
|
||||
func NewDriver(name string, options []string, root, libPath, initPath string, sysInfo *sysinfo.SysInfo) (execdriver.Driver, error) {
|
||||
switch name {
|
||||
case "lxc":
|
||||
|
||||
Reference in New Issue
Block a user