Upated plugin implementations return type
This commit is contained in:
parent
871776ca84
commit
7494468bed
8 changed files with 13 additions and 10 deletions
|
|
@ -22,11 +22,7 @@ func (g *Conman) GetDescription() string {
|
|||
return fmt.Sprintf("Configurator generator plugin for '%s'.", g.GetName())
|
||||
}
|
||||
|
||||
func (g *Conman) GetGroups() []string {
|
||||
return []string{""}
|
||||
}
|
||||
|
||||
func (g *Conman) Generate(config *configurator.Config, opts ...util.Option) (map[string][]byte, error) {
|
||||
func (g *Conman) Generate(config *configurator.Config, opts ...util.Option) (generator.Files, error) {
|
||||
var (
|
||||
params = generator.GetParams(opts...)
|
||||
client = generator.GetClient(params)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue