Skip to content

Commit 10c5a6d

Browse files
committed
make update-gofmt
1 parent 7448f55 commit 10c5a6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/monitortests/kubeapiserver/disruptioninclusterapiserver/monitortest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ type InvariantInClusterDisruption struct {
7878
isAROHCPCluster bool
7979
isBareMetalHypershift bool
8080
adminRESTConfig *rest.Config
81-
kubeClient kubernetes.Interface
81+
kubeClient kubernetes.Interface
8282
}
8383

8484
func NewInvariantInClusterDisruption(info monitortestframework.MonitorTestInitializationInfo) monitortestframework.MonitorTest {

test/extended/util/managed_services.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,14 @@ func IsBareMetalHyperShiftCluster(ctx context.Context, managementOC *CLI) (bool,
114114
if err != nil {
115115
return false, fmt.Errorf("failed to get hosted cluster names: %v", err)
116116
}
117-
117+
118118
if len(clusterNames) == 0 {
119119
return false, fmt.Errorf("no hosted clusters found")
120120
}
121121

122122
// Get the first hosted cluster name
123123
clusterName := strings.Split(strings.TrimSpace(clusterNames), " ")[0]
124-
124+
125125
// Get the platform type of the hosted cluster
126126
platformType, err := managementOC.AsAdmin().WithoutNamespace().Run("get").Args(
127127
"hostedcluster", clusterName, "-n", hcpNamespace, `-ojsonpath={.spec.platform.type}`).Output()

0 commit comments

Comments
 (0)