mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 21:21:42 +00:00
Use defined variable
Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
This commit is contained in:
+1
-1
@@ -750,7 +750,7 @@ func (container *Container) GetSize() (int64, int64) {
|
||||
}
|
||||
defer container.Unmount()
|
||||
|
||||
if differ, ok := container.daemon.driver.(graphdriver.Differ); ok {
|
||||
if differ, ok := driver.(graphdriver.Differ); ok {
|
||||
sizeRw, err = differ.DiffSize(container.ID)
|
||||
if err != nil {
|
||||
log.Errorf("Warning: driver %s couldn't return diff size of container %s: %s", driver, container.ID, err)
|
||||
|
||||
Reference in New Issue
Block a user