X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=cmd%2Fsafcm%2Fconfig%2Fgroups.go;h=571f19b7fcb10b5adcd4c5e406d6f22e5b585730;hp=a1dd83a0164267a0f24a351a74966fd108300323;hb=e452996e2008d438aa68dedbd206525f507b73d3;hpb=902f4dd358b7b3f27faccba2e40a04abc760546f diff --git a/cmd/safcm/config/groups.go b/cmd/safcm/config/groups.go index a1dd83a..571f19b 100644 --- a/cmd/safcm/config/groups.go +++ b/cmd/safcm/config/groups.go @@ -128,8 +128,7 @@ func LoadGroups(cfg *Config, hosts *Hosts) (map[string][]string, error) { return groups, nil } -func ResolveHostGroups(host string, - groups map[string][]string, +func ResolveHostGroups(host string, groups map[string][]string, detectedGroups []string) ([]string, error) { const maxDepth = 100