Browse Source

change TriggerKind format for external event.

beelzebub
Gisle Aune 2 years ago
parent
commit
f6d362cf1e
  1. 2
      events/external.go

2
events/external.go

@ -12,7 +12,7 @@ func (e ExternalEvent) EventDescription() string {
} }
func (e ExternalEvent) TriggerKind() string { func (e ExternalEvent) TriggerKind() string {
return fmt.Sprintf("external.%s", e.Kind)
return fmt.Sprintf("External[%s]", e.Kind)
} }
func (e ExternalEvent) TriggerValue(key string) (string, bool) { func (e ExternalEvent) TriggerValue(key string) (string, bool) {

Loading…
Cancel
Save