mirror of
https://github.com/google/nomulus
synced 2026-04-27 11:35:20 +00:00
Record a version of EPP metrics with TLD for domain commands
Also fixes the issue that dry run EPP commands were incorrectly being reported on. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171062984
This commit is contained in:
@@ -111,6 +111,11 @@ public class EppInput extends ImmutableObject {
|
||||
return Optional.absent();
|
||||
}
|
||||
|
||||
/** Returns whether this EppInput represents a command that operates on domain resources. */
|
||||
public boolean isDomainResourceType() {
|
||||
return getResourceType().or("").equals("domain");
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private ResourceCommand getResourceCommand() {
|
||||
InnerCommand innerCommand = commandWrapper.getCommand();
|
||||
|
||||
Reference in New Issue
Block a user