Skip to content

Commit 261d81c

Browse files
committed
kube-tmux: use handcode slash for windows
1 parent c2b4d75 commit 261d81c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ package main
77
import (
88
"fmt"
99
"os"
10-
"path/filepath"
1110
"text/template"
1211

1312
corev1 "k8s.io/api/core/v1"
1413
"k8s.io/client-go/tools/clientcmd"
1514
)
1615

1716
const (
18-
defaultSepalater = string(filepath.Separator)
17+
defaultSepalater = "/"
1918
defaultformat = "{{.Context}}" + defaultSepalater + "{{.Namespace}}"
2019
)
2120

0 commit comments

Comments
 (0)