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