Update go module to github.com/containerd/containerd/v2
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
package os
|
||||
|
||||
import (
|
||||
"github.com/containerd/containerd/mount"
|
||||
"github.com/containerd/containerd/v2/mount"
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
package os
|
||||
|
||||
import "github.com/containerd/containerd/mount"
|
||||
import "github.com/containerd/containerd/v2/mount"
|
||||
|
||||
// LookupMount gets mount info of a given path.
|
||||
func (RealOS) LookupMount(path string) (mount.Info, error) {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
package os
|
||||
|
||||
import (
|
||||
"github.com/containerd/containerd/mount"
|
||||
"github.com/containerd/containerd/v2/mount"
|
||||
)
|
||||
|
||||
// Mount will call unix.Mount to mount the file.
|
||||
|
||||
@@ -19,7 +19,7 @@ package os
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/containerd/containerd/mount"
|
||||
"github.com/containerd/containerd/v2/mount"
|
||||
)
|
||||
|
||||
// Mount is an empty stub on Windows.
|
||||
|
||||
@@ -22,7 +22,7 @@ import (
|
||||
|
||||
"github.com/moby/sys/symlink"
|
||||
|
||||
"github.com/containerd/containerd/mount"
|
||||
"github.com/containerd/containerd/v2/mount"
|
||||
)
|
||||
|
||||
// OS collects system level operations that need to be mocked out
|
||||
|
||||
@@ -20,9 +20,9 @@ import (
|
||||
"os"
|
||||
"sync"
|
||||
|
||||
containerdmount "github.com/containerd/containerd/mount"
|
||||
containerdmount "github.com/containerd/containerd/v2/mount"
|
||||
|
||||
osInterface "github.com/containerd/containerd/pkg/os"
|
||||
osInterface "github.com/containerd/containerd/v2/pkg/os"
|
||||
)
|
||||
|
||||
// CalledDetail is the struct contains called function name and arguments.
|
||||
|
||||
Reference in New Issue
Block a user