Procházet zdrojové kódy

Merge pull request #16866 from cpuguy83/fix_exp_graphdriver_error

Fix exp tests cast protodriver to naivediffdriver
Jess Frazelle před 9 roky
rodič
revize
103189e562

+ 1 - 1
integration-cli/docker_cli_external_graphdriver_unix_test.go

@@ -97,7 +97,7 @@ func (s *DockerExternalGraphdriverSuite) SetUpSuite(c *check.C) {
 	if err != nil {
 	if err != nil {
 		c.Fatalf("error initializing graph driver: %v", err)
 		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) {
 	mux.HandleFunc("/Plugin.Activate", func(w http.ResponseWriter, r *http.Request) {
 		s.ec.activations++
 		s.ec.activations++