Move config version to version package
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -27,6 +27,7 @@ import (
|
||||
"github.com/containerd/containerd/v2/cmd/containerd/server/config"
|
||||
"github.com/containerd/containerd/v2/defaults"
|
||||
"github.com/containerd/containerd/v2/pkg/sys"
|
||||
"github.com/containerd/containerd/v2/version"
|
||||
"github.com/containerd/log"
|
||||
)
|
||||
|
||||
@@ -51,7 +52,7 @@ func startDaemon() {
|
||||
defer close(errC)
|
||||
|
||||
srvconfig := &config.Config{
|
||||
Version: config.CurrentConfigVersion,
|
||||
Version: version.ConfigVersion,
|
||||
Root: defaultRoot,
|
||||
State: defaultState,
|
||||
Debug: config.Debug{
|
||||
|
||||
Reference in New Issue
Block a user