Merge pull request #5212 from thaJeztah/gofmt_all_the_things
gofmt -s -w all the things
This commit is contained in:
commit
5978fe807a
@ -29,7 +29,7 @@ func mknod(path string, mode uint32, dev uint64) error {
|
||||
// lsetxattrCreate wraps unix.Lsetxattr with FreeBSD-specific flags and errors
|
||||
func lsetxattrCreate(link string, attr string, data []byte) error {
|
||||
err := unix.Lsetxattr(link, attr, data, 0)
|
||||
if err == unix.ENOTSUP|| err == unix.EEXIST {
|
||||
if err == unix.ENOTSUP || err == unix.EEXIST {
|
||||
return nil
|
||||
}
|
||||
return err
|
||||
|
@ -34,9 +34,9 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/containerd/containerd"
|
||||
"github.com/containerd/cgroups"
|
||||
cgroupsv2 "github.com/containerd/cgroups/v2"
|
||||
. "github.com/containerd/containerd"
|
||||
apievents "github.com/containerd/containerd/api/events"
|
||||
"github.com/containerd/containerd/cio"
|
||||
"github.com/containerd/containerd/containers"
|
||||
|
@ -30,8 +30,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/containerd/containerd"
|
||||
"github.com/containerd/cgroups"
|
||||
. "github.com/containerd/containerd"
|
||||
"github.com/containerd/containerd/oci"
|
||||
"github.com/containerd/containerd/pkg/testutil"
|
||||
"github.com/containerd/containerd/plugin"
|
||||
|
Loading…
Reference in New Issue
Block a user