Change text of registrar change notification e-mail

Since we're now sending these to actual registrars, change the text to make it
a little bit clearer what's going on.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=241992717
This commit is contained in:
mmuller 2019-04-04 13:15:28 -07:00 committed by jianglai
parent 4240583af7
commit c8c7a043bd
2 changed files with 4 additions and 3 deletions

View file

@ -501,10 +501,11 @@ public class RegistrarSettingsAction implements Runnable, JsonActionRunner.JsonA
String environment = Ascii.toLowerCase(String.valueOf(registryEnvironment)); String environment = Ascii.toLowerCase(String.valueOf(registryEnvironment));
sendEmailUtils.sendEmail( sendEmailUtils.sendEmail(
String.format( String.format(
"Registrar %s (%s) updated in %s", "Registrar %s (%s) updated in registry %s environment",
existingRegistrar.getRegistrarName(), existingRegistrar.getClientId(), environment), existingRegistrar.getRegistrarName(), existingRegistrar.getClientId(), environment),
String.format( String.format(
"The following changes were made on %s to the registrar %s by %s:\n\n%s", "The following changes were made in registry %s environment to "
+ "the registrar %s by %s:\n\n%s",
environment, environment,
existingRegistrar.getClientId(), existingRegistrar.getClientId(),
authResult.userIdForLogging(), authResult.userIdForLogging(),

View file

@ -1,4 +1,4 @@
The following changes were made on unittest to the registrar TheRegistrar by user user@email.com: The following changes were made in registry unittest environment to the registrar TheRegistrar by user user@email.com:
whoisServer: null -> foo.bar.baz whoisServer: null -> foo.bar.baz
ipAddressWhitelist: null -> [1.1.1.1/32, 2.2.2.2/32, 4.4.4.4/32] ipAddressWhitelist: null -> [1.1.1.1/32, 2.2.2.2/32, 4.4.4.4/32]