Skip to content

Commit 2196939

Browse files
Fixed tests
1 parent f163bd4 commit 2196939

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

pkg/controller/vsphere/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
const (
2424
globalInfrastuctureName = "cluster"
25-
openshiftConfigNamespace = "openshift-config"
25+
openshiftConfigNamespace = "openshift-config-1"
2626
)
2727

2828
// vSphereConfig is a copy of the Kubernetes vSphere cloud provider config type

pkg/webhooks/machine_webhook.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ import (
44
"context"
55
"encoding/json"
66
"fmt"
7+
"regexp"
8+
goruntime "runtime"
9+
"strconv"
10+
"strings"
11+
712
corev1 "k8s.io/api/core/v1"
813
apierrors "k8s.io/apimachinery/pkg/api/errors"
914
"k8s.io/apimachinery/pkg/api/resource"
@@ -16,15 +21,11 @@ import (
1621
"k8s.io/apimachinery/pkg/util/validation/field"
1722
"k8s.io/klog/v2"
1823
"k8s.io/utils/strings/slices"
19-
"regexp"
20-
goruntime "runtime"
2124
ctrl "sigs.k8s.io/controller-runtime"
2225
"sigs.k8s.io/controller-runtime/pkg/client"
2326
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
2427
"sigs.k8s.io/kube-storage-version-migrator/pkg/clients/clientset/scheme"
2528
"sigs.k8s.io/yaml"
26-
"strconv"
27-
"strings"
2829

2930
osconfigv1 "github.com/openshift/api/config/v1"
3031
machinev1 "github.com/openshift/api/machine/v1"

0 commit comments

Comments
 (0)