libcontainerd/supervisor: remove unused remote.rootDir

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2022-08-09 21:35:42 +02:00
parent 6b7e19ff42
commit 7b0bd43a27
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

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