Upated plugin implementations return type

This commit is contained in:
David Allen 2024-07-08 16:08:28 -06:00
parent 871776ca84
commit 7494468bed
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
8 changed files with 13 additions and 10 deletions

View file

@ -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)