Updated generator plugin implementations
This commit is contained in:
parent
22195fa00a
commit
121c7b9f9c
5 changed files with 47 additions and 24 deletions
|
|
@ -1,6 +1,8 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
configurator "github.com/OpenCHAMI/configurator/internal"
|
||||
"github.com/OpenCHAMI/configurator/internal/util"
|
||||
)
|
||||
|
|
@ -16,7 +18,7 @@ func (g *Syslog) GetGroups() []string {
|
|||
}
|
||||
|
||||
func (g *Syslog) Generate(config *configurator.Config, opts ...util.Option) ([]byte, error) {
|
||||
return nil, nil
|
||||
return nil, fmt.Errorf("plugin does not implement generation function")
|
||||
}
|
||||
|
||||
var Generator Syslog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue