mirror of https://github.com/docker/docs.git
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>
This commit is contained in:
parent
6d9a84bcd0
commit
a705ca0173
|
@ -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++
|
||||||
|
|
Loading…
Reference in New Issue