Skip to content

Commit ab1e5e4

Browse files
author
Arvind Thirumurugan
committed
rename directories
1 parent d469abf commit ab1e5e4

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

pkg/utils/eviction/eviction_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ package eviction
33
import (
44
"testing"
55

6-
placementv1beta1 "go.goms.io/fleet/apis/placement/v1beta1"
76
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
7+
8+
placementv1beta1 "go.goms.io/fleet/apis/placement/v1beta1"
89
)
910

1011
func TestIsEvictionInTerminalState(t *testing.T) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ event like upgrade or reconfiguration.
88
The `drain` tool can be used to drain a member cluster by running the following command:
99

1010
```
11-
go run tools/drain-cluster/main.go --hubClusterContext <hub-cluster-context> --clusterName <memberClusterName>
11+
go run tools/draincluster/main.go --hubClusterContext <hub-cluster-context> --clusterName <memberClusterName>
1212
```
1313

1414
the tool currently is a go program that takes the hub cluster context and the member cluster name as arguments.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
package drain_cluster
1+
package main
22

33
import (
44
"context"
55
"flag"
66
"fmt"
7+
"log"
8+
79
k8errors "k8s.io/apimachinery/pkg/api/errors"
810
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
911
"k8s.io/apimachinery/pkg/runtime"
1012
"k8s.io/apimachinery/pkg/types"
1113
"k8s.io/apimachinery/pkg/util/wait"
1214
"k8s.io/client-go/util/retry"
13-
"log"
1415
"sigs.k8s.io/controller-runtime/pkg/client"
1516

1617
clusterv1beta1 "go.goms.io/fleet/apis/cluster/v1beta1"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ To uncordon a member cluster connected to a fleet, you can use the `uncordon-clu
44
uncordon a member cluster that has been cordoned using the `cordon-cluster` tool.
55

66
```
7-
go run tools/cordon-cluster/main.go --hubClusterContext <hub-cluster-context> --clusterName <memberClusterName>
7+
go run tools/cordoncluster/main.go --hubClusterContext <hub-cluster-context> --clusterName <memberClusterName>
88
```
99

1010
the tool currently is a go program that also takes the hub cluster context and the member cluster name as arguments.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package uncordon_cluster
1+
package main
22

33
import (
44
"context"

0 commit comments

Comments
 (0)