mirror of
https://github.com/google/nomulus
synced 2026-01-06 21:47:31 +00:00
Rename Response in the epp model to EppResponse
So that it doesn't conflict with request.Response. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124595393
This commit is contained in:
committed by
Justine Tunney
parent
0ce293325c
commit
7cf4ddce97
@@ -27,7 +27,7 @@ import google.registry.flows.FlowRunner.UserPrivileges;
|
||||
import google.registry.model.eppcommon.Trid;
|
||||
import google.registry.model.eppinput.EppInput;
|
||||
import google.registry.model.eppoutput.EppOutput;
|
||||
import google.registry.model.eppoutput.Response;
|
||||
import google.registry.model.eppoutput.EppResponse;
|
||||
import google.registry.model.eppoutput.Result;
|
||||
import google.registry.model.eppoutput.Result.Code;
|
||||
import google.registry.monitoring.whitebox.EppMetrics;
|
||||
@@ -104,7 +104,7 @@ public final class EppController {
|
||||
// Create TRID (without a clTRID) if one hasn't been created yet, as it's necessary to construct
|
||||
// a valid response. This can happen if the error occurred before we could even parse out the
|
||||
// clTRID (e.g. if a syntax error occurred parsing the supplied XML).
|
||||
return EppOutput.create(new Response.Builder()
|
||||
return EppOutput.create(new EppResponse.Builder()
|
||||
.setTrid(trid == null ? Trid.create(null) : trid)
|
||||
.setResult(result)
|
||||
.setExecutionTime(clock.nowUtc())
|
||||
|
||||
Reference in New Issue
Block a user