diff --git a/cmd/channel/email/main.go b/cmd/channel/email/main.go index 1f7a7516..01e5c2f9 100644 --- a/cmd/channel/email/main.go +++ b/cmd/channel/email/main.go @@ -109,7 +109,7 @@ func (ch *Email) GetInfo() *plugin.Info { "en_US": "From", "de_DE": "Von", }, - Placeholder: "icinga@example.com", + Default: "icinga@example.com", }, } diff --git a/pkg/plugin/plugin.go b/pkg/plugin/plugin.go index f0310a8f..ed1dcaa8 100644 --- a/pkg/plugin/plugin.go +++ b/pkg/plugin/plugin.go @@ -36,13 +36,10 @@ type ConfigOption struct { // An "en_US" locale must be given as a fallback Label map[string]string `json:"label"` - // Element placeholder - Placeholder string `json:"placeholder,omitempty"` - // Element title: When the user moves the mouse pointer over an element, a tooltip is displayed with a given message. Help map[string]string `json:"help,omitempty"` - // Element default value: bool for checkbox, string for other elements + // Element default: bool for checkbox default value, string for other elements (used as placeholder) Default any `json:"default,omitempty"` // Set true if this element is required, omit otherwise