Skip to content

Commit d261c1f

Browse files
committed
f
1 parent ed6bbfc commit d261c1f

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

api/internal/clients/kube.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ import (
2222
var localSchemeBuilder = runtime.NewSchemeBuilder(
2323
apiextensionsv1.AddToScheme,
2424
embeddedclusterv1beta1.AddToScheme,
25-
//nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
2625
autopilotv1beta2.AddToScheme,
27-
//nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
2826
k0sv1beta1.AddToScheme,
2927
//nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
3028
k0shelmv1beta1.AddToScheme,

operator/pkg/cli/migratev2/k0s_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ func TestNeedsK0sChartCleanup(t *testing.T) {
8888
for _, tt := range tests {
8989
t.Run(tt.name, func(t *testing.T) {
9090
scheme := runtime.NewScheme()
91-
//nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
9291
err := k0sv1beta1.AddToScheme(scheme)
9392
require.NoError(t, err)
9493
//nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30

pkg-new/upgrade/upgrade_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ func TestUpdateClusterConfig(t *testing.T) {
2929
logger.SetLevel(logrus.ErrorLevel)
3030

3131
scheme := runtime.NewScheme()
32-
//nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
3332
require.NoError(t, k0sv1beta1.AddToScheme(scheme))
3433

3534
// We need to disable telemetry in a backwards compatible way with k0s v1.30 and v1.29

pkg/kubeutils/client.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ func init() {
2626
utilruntime.Must(embeddedclusterv1beta1.AddToScheme(Scheme))
2727
//nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
2828
utilruntime.Must(autopilotv1beta2.AddToScheme(Scheme))
29-
//nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
3029
utilruntime.Must(k0sv1beta1.AddToScheme(Scheme))
3130
//nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
3231
utilruntime.Must(k0shelmv1beta1.AddToScheme(Scheme))

0 commit comments

Comments
 (0)