From a705ca017349b9d4c71e22de795e7dda40a5ecce Mon Sep 17 00:00:00 2001 From: Brian Goff <cpuguy83@gmail.com> Date: Thu, 8 Oct 2015 19:39:59 -0400 Subject: [PATCH] Fix exp tests cast protodriver to naivediffdriver A recent change made `graphdriver.NaiveDiffDriver` from a function to a struct. New function is `graphdriver.NewNaiveDiffDriver. The graphdriver plugin PR was created (and tests run) before this change was introduced causing the failure to not be seen until after merge. Signed-off-by: Brian Goff <cpuguy83@gmail.com> --- integration-cli/docker_cli_external_graphdriver_unix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-cli/docker_cli_external_graphdriver_unix_test.go b/integration-cli/docker_cli_external_graphdriver_unix_test.go index 842dd21781..d4892f067e 100644 --- a/integration-cli/docker_cli_external_graphdriver_unix_test.go +++ b/integration-cli/docker_cli_external_graphdriver_unix_test.go @@ -97,7 +97,7 @@ func (s *DockerExternalGraphdriverSuite) SetUpSuite(c *check.C) { if err != nil { c.Fatalf("error initializing graph driver: %v", err) } - driver := graphdriver.NaiveDiffDriver(vfsProto) + driver := graphdriver.NewNaiveDiffDriver(vfsProto) mux.HandleFunc("/Plugin.Activate", func(w http.ResponseWriter, r *http.Request) { s.ec.activations++