Sfoglia il codice sorgente

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

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 anni fa
parent
commit
0a004fd361
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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() {
 	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
 		// FIXME(thaJeztah): implement automatic snapshotter-selection similar to graph-driver selection; see https://github.com/moby/moby/issues/44076
 		if driverName == "" {
 		if driverName == "" {
 			driverName = containerd.DefaultSnapshotter
 			driverName = containerd.DefaultSnapshotter