diff --git a/libcontainerd/supervisor/remote_daemon.go b/libcontainerd/supervisor/remote_daemon.go index 4461ad94ac..cafae20e9d 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,