Skip to content

Commit

Permalink
Use defined variable
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
  • Loading branch information
LK4D4 committed Sep 12, 2014
1 parent 32b5d14 commit 555ce0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/container.go
Expand Up @@ -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)
Expand Down

0 comments on commit 555ce0c

Please sign in to comment.