浏览代码

daemon: NewDaemon(): log message if containerd snapshotter is enabled

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 年之前
父节点
当前提交
0a004fd361
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      daemon/daemon.go

+ 2 - 0
daemon/daemon.go

@@ -982,6 +982,8 @@ func NewDaemon(ctx context.Context, config *config.Config, pluginStore *plugin.S
 	}
 
 	if d.UsesSnapshotter() {
+		logrus.Info("Starting daemon with containerd snapshotter integration enabled")
+
 		// FIXME(thaJeztah): implement automatic snapshotter-selection similar to graph-driver selection; see https://github.com/moby/moby/issues/44076
 		if driverName == "" {
 			driverName = containerd.DefaultSnapshotter