Skip to content

Commit f6f6eea

Browse files
kinokopioclaude
andcommitted
fix: remove unused fmt import in sa subcommand
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent df34ee8 commit f6f6eea

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

internal/console/commands/sa/subcommand.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package sa
22

33
import (
4-
"fmt"
5-
64
"kctl/internal/session"
75
)
86

@@ -65,7 +63,7 @@ func Execute(sess *session.Session, args []string) error {
6563

6664
// Usage 返回 SA 命令的用法
6765
func Usage() string {
68-
return fmt.Sprintf(`sa [subcommand] [options]
66+
return `sa [subcommand] [options]
6967
7068
ServiceAccount 相关操作
7169
@@ -80,5 +78,5 @@ ServiceAccount 相关操作
8078
sa list --risky 只显示有风险的 SA
8179
sa scan 扫描所有 SA
8280
sa use kube-system/default
83-
sa info`)
81+
sa info`
8482
}

0 commit comments

Comments
 (0)