Skip to content

Commit

Permalink
chore: upgrade stackrox go.mod ref to 4.6.1 (#2142)
Browse files Browse the repository at this point in the history
upgrade stackrox go.mod ref to 4.6.1
  • Loading branch information
johannes94 authored Jan 10, 2025
1 parent cd8366e commit 48f2d2c
Show file tree
Hide file tree
Showing 21 changed files with 216 additions and 215 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ linters:
# - gocognit
# - goconst
- ginkgolinter
- exportloopref
- copyloopvar
- gocritic
# - gocyclo
# - godot
Expand Down
2 changes: 1 addition & 1 deletion e2e/e2e_canary_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/stackrox/acs-fleet-manager/pkg/client/fleetmanager"
fmImpl "github.com/stackrox/acs-fleet-manager/pkg/client/fleetmanager/impl"
"github.com/stackrox/acs-fleet-manager/pkg/features"
"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
k8sErrors "k8s.io/apimachinery/pkg/api/errors"
Expand Down
2 changes: 1 addition & 1 deletion e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/constants"
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/api/public"
"github.com/stackrox/acs-fleet-manager/pkg/client/fleetmanager"
"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
apiErrors "k8s.io/apimachinery/pkg/api/errors"
Expand Down
2 changes: 1 addition & 1 deletion e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/services"
"github.com/stackrox/acs-fleet-manager/pkg/client/fleetmanager"
fmImpl "github.com/stackrox/acs-fleet-manager/pkg/client/fleetmanager/impl"
"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
authenticationv1 "k8s.io/api/authentication/v1"
corev1 "k8s.io/api/core/v1"
k8sErrors "k8s.io/apimachinery/pkg/api/errors"
Expand Down
2 changes: 1 addition & 1 deletion fleetshard/pkg/central/reconciler/central_cr_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/pkg/errors"
"github.com/stackrox/acs-fleet-manager/fleetshard/pkg/util"
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/api/private"
"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
apiErrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/util/wait"
ctrlClient "sigs.k8s.io/controller-runtime/pkg/client"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
"github.com/stretchr/testify/require"
"sigs.k8s.io/controller-runtime/pkg/client"
)
Expand Down
2 changes: 1 addition & 1 deletion fleetshard/pkg/central/reconciler/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/stackrox/acs-fleet-manager/pkg/client/fleetmanager"
"github.com/stackrox/acs-fleet-manager/pkg/features"
centralNotifierUtils "github.com/stackrox/rox/central/notifiers/utils"
"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
"github.com/stackrox/rox/pkg/declarativeconfig"
"github.com/stackrox/rox/pkg/random"
"golang.org/x/exp/maps"
Expand Down
2 changes: 1 addition & 1 deletion fleetshard/pkg/central/reconciler/reconciler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"github.com/stackrox/acs-fleet-manager/pkg/client/fleetmanager"
fmMocks "github.com/stackrox/acs-fleet-manager/pkg/client/fleetmanager/mocks"
centralNotifierUtils "github.com/stackrox/rox/central/notifiers/utils"
"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
"github.com/stackrox/rox/pkg/declarativeconfig"
"github.com/stackrox/rox/pkg/utils"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion fleetshard/pkg/k8s/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/openshift/addon-operator/apis/addons"
openshiftOperatorV1 "github.com/openshift/api/operator/v1"
openshiftRouteV1 "github.com/openshift/api/route/v1"
"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
verticalpodautoscalingv1 "k8s.io/autoscaler/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1"
Expand Down
2 changes: 1 addition & 1 deletion fleetshard/pkg/runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
fleetmanager "github.com/stackrox/acs-fleet-manager/pkg/client/fleetmanager/impl"
"github.com/stackrox/acs-fleet-manager/pkg/features"
"github.com/stackrox/acs-fleet-manager/pkg/logger"
"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
"github.com/stackrox/rox/pkg/concurrency"
apiErrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/util/wait"
Expand Down
2 changes: 1 addition & 1 deletion fleetshard/pkg/testutils/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
openshiftOperatorV1 "github.com/openshift/api/operator/v1"
openshiftRouteV1 "github.com/openshift/api/route/v1"
"github.com/pkg/errors"
platform "github.com/stackrox/rox/operator/apis/platform/v1alpha1"
platform "github.com/stackrox/rox/operator/api/v1alpha1"
"github.com/stretchr/testify/require"
appsv1 "k8s.io/api/apps/v1"
coreV1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion fleetshard/pkg/util/revision.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strconv"

"github.com/pkg/errors"
"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion fleetshard/pkg/util/revision_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package util
import (
"testing"

"github.com/stackrox/rox/operator/apis/platform/v1alpha1"
"github.com/stackrox/rox/operator/api/v1alpha1"
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
Loading

0 comments on commit 48f2d2c

Please sign in to comment.