зеркало из https://github.com/mozilla/glean.git
Rust formatting
This commit is contained in:
Родитель
8ec875aa7c
Коммит
da8edd9790
|
@ -177,11 +177,7 @@ pub fn set_experiment_active(
|
|||
branch: String,
|
||||
extra: Option<HashMap<String, String>>,
|
||||
) {
|
||||
glean_core::glean_set_experiment_active(
|
||||
experiment_id,
|
||||
branch,
|
||||
extra.unwrap_or_default(),
|
||||
)
|
||||
glean_core::glean_set_experiment_active(experiment_id, branch, extra.unwrap_or_default())
|
||||
}
|
||||
|
||||
/// Indicate that an experiment is no longer running.
|
||||
|
|
|
@ -659,10 +659,7 @@ impl PingUploadManager {
|
|||
use UploadResult::*;
|
||||
|
||||
if let Some(label) = status.get_label() {
|
||||
let metric = self
|
||||
.upload_metrics
|
||||
.ping_upload_failure
|
||||
.get(label);
|
||||
let metric = self.upload_metrics.ping_upload_failure.get(label);
|
||||
metric.add_sync(glean, 1);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче