commands, log as info
This commit is contained in:
parent
a5cd89db91
commit
3678d1d815
@ -12,7 +12,7 @@ type GoCliPlugin struct{}
|
|||||||
|
|
||||||
// Do implements register.Plugin
|
// Do implements register.Plugin
|
||||||
func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error {
|
func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error {
|
||||||
hclog.L().Info("received command: %s", cmd.CommandName)
|
hclog.L().Error("received command: %s", cmd.CommandName)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user