Fix incorrect field name in EppMetric

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=132688882
This commit is contained in:
shikhman 2016-09-09 10:28:07 -07:00 committed by Ben McIlwain
parent cb55ab4f5f
commit bd887e857e
2 changed files with 86 additions and 1 deletions

View file

@ -123,7 +123,9 @@ public abstract class EppMetric implements BigQueryMetric {
addOptional("clientId", getClientId(), map);
addOptional("privilegeLevel", getPrivilegeLevel(), map);
addOptional("eppTarget", getEppTarget(), map);
addOptional("status", getStatus(), map);
if (getStatus().isPresent()) {
map.put("eppStatus", Integer.toString(getStatus().get().code));
}
return map.build();
}