layer: rename vars that shadowed imports

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2024-06-27 13:58:25 +02:00
parent 0ed172b700
commit bc4991e443

View File

@@ -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)
}
}