Improve godoc of Group.SourceTenants()

This commit is contained in:
Dimitar Dimitrov 2021-11-26 14:08:21 +01:00
parent a97576fc00
commit f17d3a71aa
No known key found for this signature in database
GPG key ID: 4541B04E6C90EBC3

View file

@ -329,6 +329,7 @@ func (g *Group) Interval() time.Duration { return g.interval }
func (g *Group) Limit() int { return g.limit }
// SourceTenants returns the source tenants for the group.
// If it's empty or nil, then the owning user/tenant is considered to be the source tenant.
func (g *Group) SourceTenants() []string { return g.sourceTenants }
func (g *Group) run(ctx context.Context) {