File tree 10 files changed +18
-19
lines changed
10 files changed +18
-19
lines changed Original file line number Diff line number Diff line change 3
3
"disable-all" : true ,
4
4
"enable" : [
5
5
" govet" ,
6
- " revive" ,
7
6
" goimports" ,
8
7
" misspell" ,
9
8
" ineffassign" ,
Original file line number Diff line number Diff line change 5
5
"net/http"
6
6
"net/http/httptest"
7
7
8
- . "github.com/onsi/ginkgo/v2" //nolint:revive
9
- . "github.com/onsi/gomega" //nolint:revive
8
+ . "github.com/onsi/ginkgo/v2"
9
+ . "github.com/onsi/gomega"
10
10
"github.com/rancher/system-upgrade-controller/e2e/framework"
11
11
upgradeapiv1 "github.com/rancher/system-upgrade-controller/pkg/apis/upgrade.cattle.io/v1"
12
12
upgradeplan "github.com/rancher/system-upgrade-controller/pkg/upgrade/plan"
Original file line number Diff line number Diff line change 6
6
"io"
7
7
"time"
8
8
9
- . "github.com/onsi/ginkgo/v2" //nolint:revive
10
- . "github.com/onsi/gomega" //nolint:revive
9
+ . "github.com/onsi/ginkgo/v2"
10
+ . "github.com/onsi/gomega"
11
11
batchv1 "k8s.io/api/batch/v1"
12
12
v1 "k8s.io/api/core/v1"
13
13
"k8s.io/utils/ptr"
Original file line number Diff line number Diff line change 1
1
package suite_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo/v2" //nolint:revive
5
- . "github.com/onsi/gomega" //nolint:revive
4
+ . "github.com/onsi/ginkgo/v2"
5
+ . "github.com/onsi/gomega"
6
6
"github.com/rancher/system-upgrade-controller/e2e/framework"
7
7
upgradeapiv1 "github.com/rancher/system-upgrade-controller/pkg/apis/upgrade.cattle.io/v1"
8
8
)
Original file line number Diff line number Diff line change 6
6
"path"
7
7
"time"
8
8
9
- . "github.com/onsi/ginkgo/v2" //nolint:revive
10
- . "github.com/onsi/gomega" //nolint:revive
9
+ . "github.com/onsi/ginkgo/v2"
10
+ . "github.com/onsi/gomega"
11
11
"github.com/rancher/system-upgrade-controller/e2e/framework"
12
12
upgradeapiv1 "github.com/rancher/system-upgrade-controller/pkg/apis/upgrade.cattle.io/v1"
13
13
)
Original file line number Diff line number Diff line change 5
5
"os"
6
6
"testing"
7
7
8
- . "github.com/onsi/ginkgo/v2" //nolint:revive
9
- . "github.com/onsi/gomega" //nolint:revive
8
+ . "github.com/onsi/ginkgo/v2"
9
+ . "github.com/onsi/gomega"
10
10
"github.com/sirupsen/logrus"
11
11
"k8s.io/kubernetes/test/e2e/framework"
12
12
"k8s.io/kubernetes/test/e2e/framework/config"
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package container_test
3
3
import (
4
4
"testing"
5
5
6
- . "github.com/onsi/ginkgo/v2" //nolint:revive
7
- . "github.com/onsi/gomega" //nolint:revive
6
+ . "github.com/onsi/ginkgo/v2"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
func TestContainer (t * testing.T ) {
Original file line number Diff line number Diff line change 1
1
package container_test
2
2
3
3
import (
4
- . "github.com/onsi/ginkgo/v2" //nolint:revive
5
- . "github.com/onsi/gomega" //nolint:revive
4
+ . "github.com/onsi/ginkgo/v2"
5
+ . "github.com/onsi/gomega"
6
6
upgradeapiv1 "github.com/rancher/system-upgrade-controller/pkg/apis/upgrade.cattle.io/v1"
7
7
"github.com/rancher/system-upgrade-controller/pkg/upgrade/container"
8
8
corev1 "k8s.io/api/core/v1"
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package job_test
3
3
import (
4
4
"testing"
5
5
6
- . "github.com/onsi/ginkgo/v2" //nolint:revive
7
- . "github.com/onsi/gomega" //nolint:revive
6
+ . "github.com/onsi/ginkgo/v2"
7
+ . "github.com/onsi/gomega"
8
8
upgradev1 "github.com/rancher/system-upgrade-controller/pkg/apis/upgrade.cattle.io/v1"
9
9
sucjob "github.com/rancher/system-upgrade-controller/pkg/upgrade/job"
10
10
corev1 "k8s.io/api/core/v1"
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package upgrade_test
3
3
import (
4
4
"testing"
5
5
6
- . "github.com/onsi/ginkgo/v2" //nolint:revive
7
- . "github.com/onsi/gomega" //nolint:revive
6
+ . "github.com/onsi/ginkgo/v2"
7
+ . "github.com/onsi/gomega"
8
8
)
9
9
10
10
func TestUpgrade (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments