mirror of
https://github.com/moby/moby.git
synced 2026-08-04 23:21:00 +00:00
layer: rename vars that shadowed imports
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -51,13 +51,13 @@ func newTestGraphDriver(t *testing.T) (graphdriver.Driver, func()) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
driver, err := newVFSGraphDriver(td)
|
||||
graphDriver, err := newVFSGraphDriver(td)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
return driver, func() {
|
||||
os.RemoveAll(td)
|
||||
return graphDriver, func() {
|
||||
_ = os.RemoveAll(td)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ func newTestStore(t *testing.T) (Store, string, func()) {
|
||||
|
||||
return ls, td, func() {
|
||||
graphcleanup()
|
||||
os.RemoveAll(td)
|
||||
_ = os.RemoveAll(td)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user