diff --git a/daemon/execdriver/native/driver_unsupported.go b/daemon/execdriver/native/driver_unsupported.go index f4ca76ff06..0162f1bf77 100644 --- a/daemon/execdriver/native/driver_unsupported.go +++ b/daemon/execdriver/native/driver_unsupported.go @@ -9,6 +9,6 @@ import ( ) // NewDriver returns a new native driver, called from NewDriver of execdriver. -func NewDriver(root, initPath string) (execdriver.Driver, error) { +func NewDriver(root string, options []string) (execdriver.Driver, error) { return nil, fmt.Errorf("native driver not supported on non-linux") } diff --git a/daemon/execdriver/native/driver_unsupported_nocgo.go b/daemon/execdriver/native/driver_unsupported_nocgo.go index 757845661b..bc18d1ba5b 100644 --- a/daemon/execdriver/native/driver_unsupported_nocgo.go +++ b/daemon/execdriver/native/driver_unsupported_nocgo.go @@ -9,6 +9,6 @@ import ( ) // NewDriver returns a new native driver, called from NewDriver of execdriver. -func NewDriver(root, initPath string) (execdriver.Driver, error) { +func NewDriver(root string, options []string) (execdriver.Driver, error) { return nil, fmt.Errorf("native driver not supported on non-linux") }