浏览代码

volume/local: Fix debug log typo

Active count is incremented, but message claimed the opposite.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Paweł Gronowski 1 年之前
父节点
当前提交
7f965d55c7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      volume/local/local.go

+ 1 - 1
volume/local/local.go

@@ -309,7 +309,7 @@ func (v *localVolume) Mount(id string) (string, error) {
 			v.active.mounted = true
 		}
 		v.active.count++
-		logger.WithField("active mounts", v.active).Debug("Decremented active mount count")
+		logger.WithField("active mounts", v.active).Debug("Incremented active mount count")
 	}
 	if err := v.postMount(); err != nil {
 		return "", err