mirror of
https://github.com/google/nomulus
synced 2026-01-08 23:23:32 +00:00
Add @VirtualEntity checking to Ofy's deleteWithoutBackup()
This was an oversight I noticed ages ago, so resurrecting some old local changes I had to correct it. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=146812322
This commit is contained in:
@@ -186,7 +186,7 @@ public class RestoreCommitLogsAction implements Runnable {
|
||||
}
|
||||
return dryRun || keysToDelete.isEmpty()
|
||||
? new ResultNow<Void>(null)
|
||||
: ofy().deleteWithoutBackup().entities(keysToDelete);
|
||||
: ofy().deleteWithoutBackup().keys(keysToDelete);
|
||||
}
|
||||
|
||||
/** Retrier for saves and deletes, since we can't proceed with any failures. */
|
||||
|
||||
Reference in New Issue
Block a user