File tree Expand file tree Collapse file tree 4 files changed +4
-0
lines changed
operator/pkg/cli/migratev2 Expand file tree Collapse file tree 4 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ var localSchemeBuilder = runtime.NewSchemeBuilder(
2424 embeddedclusterv1beta1 .AddToScheme ,
2525 //nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
2626 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
2728 k0sv1beta1 .AddToScheme ,
2829 //nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
2930 k0shelmv1beta1 .AddToScheme ,
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ 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
9192 err := k0sv1beta1 .AddToScheme (scheme )
9293 require .NoError (t , err )
9394 //nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ 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
3233 require .NoError (t , k0sv1beta1 .AddToScheme (scheme ))
3334
3435 // We need to disable telemetry in a backwards compatible way with k0s v1.30 and v1.29
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ 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
2930 utilruntime .Must (k0sv1beta1 .AddToScheme (Scheme ))
3031 //nolint:staticcheck // SA1019 we are using the deprecated scheme for backwards compatibility, we can remove this once we stop supporting k0s v1.30
3132 utilruntime .Must (k0shelmv1beta1 .AddToScheme (Scheme ))
You can’t perform that action at this time.
0 commit comments