diff --git a/metricsd/uploader/proto/system_profile.proto b/metricsd/uploader/proto/system_profile.proto index 4cab0d973..bac828bb6 100644 --- a/metricsd/uploader/proto/system_profile.proto +++ b/metricsd/uploader/proto/system_profile.proto @@ -88,7 +88,7 @@ message SystemProfileProto { optional string application_locale = 4; message BrilloDeviceData { - optional string build_target_id = 1; + optional string product_id = 1; } optional BrilloDeviceData brillo = 21; diff --git a/metricsd/uploader/system_profile_cache.cc b/metricsd/uploader/system_profile_cache.cc index 2437b5628..1d87be50a 100644 --- a/metricsd/uploader/system_profile_cache.cc +++ b/metricsd/uploader/system_profile_cache.cc @@ -136,7 +136,7 @@ bool SystemProfileCache::Populate( profile_proto->set_channel(profile_.channel); metrics::SystemProfileProto_BrilloDeviceData* device_data = profile_proto->mutable_brillo(); - device_data->set_build_target_id(profile_.product_id); + device_data->set_product_id(profile_.product_id); return true; }