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:
Qiang Huang
2015-07-28 08:43:22 +08:00
parent 6b7f5ef206
commit f2ac9ec822
20 changed files with 231 additions and 99 deletions

View File

@ -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":