libcontainerd/supervisor: remove unused remote.rootDir
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
6b7e19ff42
commit
7b0bd43a27
1 changed files with 0 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue