mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Allow restore commit logs action in the crash environment
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171042730
This commit is contained in:
parent
0b5b16e97c
commit
3584bbde53
1 changed files with 2 additions and 1 deletions
|
@ -87,8 +87,9 @@ public class RestoreCommitLogsAction implements Runnable {
|
||||||
public void run() {
|
public void run() {
|
||||||
checkArgument( // safety
|
checkArgument( // safety
|
||||||
RegistryEnvironment.get() == RegistryEnvironment.ALPHA
|
RegistryEnvironment.get() == RegistryEnvironment.ALPHA
|
||||||
|
|| RegistryEnvironment.get() == RegistryEnvironment.CRASH
|
||||||
|| RegistryEnvironment.get() == RegistryEnvironment.UNITTEST,
|
|| RegistryEnvironment.get() == RegistryEnvironment.UNITTEST,
|
||||||
"DO NOT RUN ANYWHERE ELSE EXCEPT ALPHA OR TESTS.");
|
"DO NOT RUN ANYWHERE ELSE EXCEPT ALPHA, CRASH OR TESTS.");
|
||||||
if (dryRun) {
|
if (dryRun) {
|
||||||
logger.info("Running in dryRun mode");
|
logger.info("Running in dryRun mode");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue