diff --git a/builder/docker/driver.go b/builder/docker/driver.go index 09da054f3..7359a667d 100644 --- a/builder/docker/driver.go +++ b/builder/docker/driver.go @@ -20,7 +20,7 @@ type Driver interface { Export(id string, dst io.Writer) error // Import imports a container from a tar file - Import(path, repo string) (string, error) + Import(path string, changes []string, repo string) (string, error) // IPAddress returns the address of the container that can be used // for external access. diff --git a/builder/docker/driver_mock.go b/builder/docker/driver_mock.go index 5193f21ee..4cca3325b 100644 --- a/builder/docker/driver_mock.go +++ b/builder/docker/driver_mock.go @@ -101,7 +101,7 @@ func (d *MockDriver) Export(id string, dst io.Writer) error { return d.ExportError } -func (d *MockDriver) Import(path, repo string) (string, error) { +func (d *MockDriver) Import(path string, changes []string, repo string) (string, error) { d.ImportCalled = true d.ImportPath = path d.ImportRepo = repo