Browse code

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>

Brian Goff authored on 2015/10/09 08:39:59
Showing 1 changed files
... ...
@@ -97,7 +97,7 @@ func (s *DockerExternalGraphdriverSuite) SetUpSuite(c *check.C) {
97 97
 	if err != nil {
98 98
 		c.Fatalf("error initializing graph driver: %v", err)
99 99
 	}
100
-	driver := graphdriver.NaiveDiffDriver(vfsProto)
100
+	driver := graphdriver.NewNaiveDiffDriver(vfsProto)
101 101
 
102 102
 	mux.HandleFunc("/Plugin.Activate", func(w http.ResponseWriter, r *http.Request) {
103 103
 		s.ec.activations++