File tree 9 files changed +20
-12
lines changed
9 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ linters:
71
71
# - wsl
72
72
linters-settings :
73
73
gci :
74
- local-prefixes : sigs.k8s.io/security-profiles-operator
74
+ local-prefixes : containers/selinuxd
75
75
errcheck :
76
76
check-type-assertions : true
77
77
check-blank : true
Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ import (
21
21
"os/signal"
22
22
"syscall"
23
23
24
+ "github.com/spf13/cobra"
25
+
24
26
"github.com/containers/selinuxd/pkg/daemon"
25
27
"github.com/containers/selinuxd/pkg/datastore"
26
28
"github.com/containers/selinuxd/pkg/semodule/semanage"
27
- "github.com/spf13/cobra"
28
29
)
29
30
30
31
// daemonCmd represents the daemon command
Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ import (
23
23
"os"
24
24
"syscall"
25
25
26
- "github.com/containers/selinuxd/pkg/daemon"
27
26
"github.com/spf13/cobra"
27
+
28
+ "github.com/containers/selinuxd/pkg/daemon"
28
29
)
29
30
30
31
// isreadyCmd represents the is-ready command
Original file line number Diff line number Diff line change @@ -20,12 +20,13 @@ import (
20
20
"os"
21
21
"syscall"
22
22
23
+ "github.com/go-logr/logr"
24
+ "github.com/spf13/cobra"
25
+
23
26
"github.com/containers/selinuxd/pkg/daemon"
24
27
"github.com/containers/selinuxd/pkg/datastore"
25
28
"github.com/containers/selinuxd/pkg/semodule"
26
29
"github.com/containers/selinuxd/pkg/semodule/semanage"
27
- "github.com/go-logr/logr"
28
- "github.com/spf13/cobra"
29
30
)
30
31
31
32
// oneshotCmd represents the oneshot command
Original file line number Diff line number Diff line change @@ -26,9 +26,10 @@ import (
26
26
"strings"
27
27
"syscall"
28
28
29
- "github.com/containers/selinuxd/pkg/daemon"
30
29
"github.com/olekukonko/tablewriter"
31
30
"github.com/spf13/cobra"
31
+
32
+ "github.com/containers/selinuxd/pkg/daemon"
32
33
)
33
34
34
35
// statusCmd represents the status command
Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ import (
4
4
"os"
5
5
"path/filepath"
6
6
7
- "github.com/containers/selinuxd/pkg/datastore"
8
- "github.com/containers/selinuxd/pkg/semodule"
9
7
"github.com/fsnotify/fsnotify"
10
8
"github.com/go-logr/logr"
9
+
10
+ "github.com/containers/selinuxd/pkg/datastore"
11
+ "github.com/containers/selinuxd/pkg/semodule"
11
12
)
12
13
13
14
type SelinuxdOptions struct {
Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ import (
13
13
"testing"
14
14
"time"
15
15
16
- "github.com/containers/selinuxd/pkg/datastore"
17
- "github.com/containers/selinuxd/pkg/semodule/test"
18
16
backoff "github.com/cenkalti/backoff/v4"
19
17
"github.com/go-logr/zapr"
20
18
"go.uber.org/zap"
19
+
20
+ "github.com/containers/selinuxd/pkg/datastore"
21
+ "github.com/containers/selinuxd/pkg/semodule/test"
21
22
)
22
23
23
24
const (
Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ import (
9
9
"net/http/pprof"
10
10
"os"
11
11
12
- "github.com/containers/selinuxd/pkg/datastore"
13
12
"github.com/go-logr/logr"
14
13
"github.com/gorilla/mux"
14
+
15
+ "github.com/containers/selinuxd/pkg/datastore"
15
16
)
16
17
17
18
const (
Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ import (
5
5
"os"
6
6
"path/filepath"
7
7
8
- "github.com/containers/selinuxd/pkg/datastore"
9
8
. "github.com/onsi/ginkgo"
10
9
. "github.com/onsi/gomega"
10
+
11
+ "github.com/containers/selinuxd/pkg/datastore"
11
12
)
12
13
13
14
var _ = Describe ("E2e" , func () {
You can’t perform that action at this time.
0 commit comments