mirror of
https://github.com/openziti/zrok.git
synced 2025-08-17 03:11:17 +02:00
ignore scoped backends when unscoped limit class in limit action (#606)
This commit is contained in:
@ -32,6 +32,7 @@ func (a *limitAction) HandleAccount(acct *store.Account, _, _ int64, bwc store.B
|
||||
}
|
||||
|
||||
ignoreBackends := ul.ignoreBackends(bwc)
|
||||
logrus.Warnf("ignore backends excluding '%v': %v", bwc, ignoreBackends)
|
||||
for _, env := range envs {
|
||||
shrs, err := a.str.FindSharesForEnvironment(env.Id, trx)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user