Skip to content

Commit accc0cf

Browse files
authored
[kubectl-plugin] fix minor typo (#2884)
Signed-off-by: David Xia <[email protected]>
1 parent 355de9a commit accc0cf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

kubectl-plugin/pkg/cmd/create/create_cluster_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func TestRayCreateClusterComplete(t *testing.T) {
2727
func TestRayCreateClusterValidate(t *testing.T) {
2828
testStreams, _, _, _ := genericclioptions.NewTestIOStreams()
2929

30-
testNS, testContext, testBT, testImpersonate := "test-namespace", "test-contet", "test-bearer-token", "test-person"
30+
testNS, testContext, testBT, testImpersonate := "test-namespace", "test-context", "test-bearer-token", "test-person"
3131

3232
// Fake directory for kubeconfig
3333
fakeDir, err := os.MkdirTemp("", "fake-dir")

kubectl-plugin/pkg/cmd/job/job_submit_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TestRayJobSubmitComplete(t *testing.T) {
2828
func TestRayJobSubmitValidate(t *testing.T) {
2929
testStreams, _, _, _ := genericclioptions.NewTestIOStreams()
3030

31-
testNS, testContext, testBT, testImpersonate := "test-namespace", "test-contet", "test-bearer-token", "test-person"
31+
testNS, testContext, testBT, testImpersonate := "test-namespace", "test-context", "test-bearer-token", "test-person"
3232

3333
// Fake directory for kubeconfig
3434
fakeDir, err := os.MkdirTemp("", "fake-dir")

kubectl-plugin/pkg/cmd/log/log_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func TestRayClusterLogComplete(t *testing.T) {
204204
func TestRayClusterLogValidate(t *testing.T) {
205205
testStreams, _, _, _ := genericclioptions.NewTestIOStreams()
206206

207-
testNS, testContext, testBT, testImpersonate := "test-namespace", "test-contet", "test-bearer-token", "test-person"
207+
testNS, testContext, testBT, testImpersonate := "test-namespace", "test-context", "test-bearer-token", "test-person"
208208

209209
// Fake directory for kubeconfig
210210
fakeDir, err := os.MkdirTemp("", "fake-config")

0 commit comments

Comments
 (0)