|
@@ -13,7 +13,6 @@ import (
|
|
|
// NewClient creates a new libcontainerd client from a containerd client
|
|
|
func NewClient(ctx context.Context, cli *containerd.Client, stateDir, ns string, b libcontainerdtypes.Backend) (libcontainerdtypes.Client, error) {
|
|
|
if !system.ContainerdRuntimeSupported() {
|
|
|
- // useShimV2 is ignored for windows
|
|
|
return local.NewClient(ctx, cli, stateDir, ns, b)
|
|
|
}
|
|
|
return remote.NewClient(ctx, cli, stateDir, ns, b)
|