fix for bad log message in Agent.CanAccessShare

This commit is contained in:
Michael Quigley 2024-06-25 14:09:50 -04:00
parent e2746e6564
commit 0ffb3bd5be
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -202,7 +202,7 @@ func (a *Agent) CanAccessShare(shrId int, trx *sqlx.Tx) (bool, error) {
return false, err
}
if len(fes)+1 > rc.GetShareFrontends() {
logrus.Infof("account '#%d' over frontends per share limit '%d'", *env.AccountId, rc.GetReservedShares())
logrus.Infof("account '#%d' over frontends per share limit '%d'", *env.AccountId, rc.GetShareFrontends())
return false, nil
}
}