Skip to content

Commit 5c6f0c9

Browse files
authored
Add read only file plugin (#1128)
1 parent ab05296 commit 5c6f0c9

12 files changed

+1084
-911
lines changed

internal/command/command_plugin.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,13 @@ func (cp *CommandPlugin) Close(ctx context.Context) error {
9494
}
9595

9696
func (cp *CommandPlugin) Info() *bus.Info {
97+
name := "command"
98+
if cp.commandServerType.String() == model.Auxiliary.String() {
99+
name = "auxiliary-command"
100+
}
101+
97102
return &bus.Info{
98-
Name: cp.commandServerType.String(),
103+
Name: name,
99104
}
100105
}
101106

0 commit comments

Comments
 (0)