working commit
This commit is contained in:
@@ -96,7 +96,7 @@ func (oper *Operator) RestoreDump(ctx context.Context, accountID string, params
|
||||
}
|
||||
}
|
||||
for _, grant := range dump.Grants {
|
||||
oper.log.Infof("Insert grant %s for account %d", grant.Operation, grant.AccountID)
|
||||
oper.log.Infof("Insert grant %s for account %d", grant.Grantname, grant.AccountID)
|
||||
err = oper.db.InsertGrant(ctx, &grant)
|
||||
if err != nil {
|
||||
oper.log.Errorf("Insert account error: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user