diff --git a/libcontainerd/supervisor/remote_daemon.go b/libcontainerd/supervisor/remote_daemon.go index 4461ad94ac54b739b4300c8fc65f22f168344d25..cafae20e9d480b27df0333d93818f76a9eec0468 100644 --- a/libcontainerd/supervisor/remote_daemon.go +++ b/libcontainerd/supervisor/remote_daemon.go @@ -39,7 +39,6 @@ type remote struct { daemonStartCh chan error daemonStopCh chan struct{} - rootDir string stateDir string } @@ -55,7 +54,6 @@ type DaemonOpt func(c *remote) error // Start starts a containerd daemon and monitors it func Start(ctx context.Context, rootDir, stateDir string, opts ...DaemonOpt) (Daemon, error) { r := &remote{ - rootDir: rootDir, stateDir: stateDir, Config: config.Config{ Version: 2,