Skip to content

Add read only file plugin #1128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: add-auxiliary-command-server-to-agent-config
Choose a base branch
from
7 changes: 6 additions & 1 deletion internal/command/command_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,13 @@ func (cp *CommandPlugin) Close(ctx context.Context) error {
}

func (cp *CommandPlugin) Info() *bus.Info {
name := "command"
if cp.commandServerType.String() == model.Auxiliary.String() {
name = "auxiliary-command"
}

return &bus.Info{
Name: cp.commandServerType.String(),
Name: name,
}
}

Expand Down
Loading