Skip to content

Commit

Permalink
use plural name
Browse files Browse the repository at this point in the history
[ci skip-build-wheels]
  • Loading branch information
Tom Dyas committed Sep 27, 2022
1 parent 58a1e02 commit 3bb31ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rust/engine/process_execution/src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ impl super::CommandRunner for CommandRunner {
.await;

match &res {
Ok(_) => workunit.increment_counter(Metric::DockerExecutionSuccess, 1),
Ok(_) => workunit.increment_counter(Metric::DockerExecutionSuccesses, 1),
Err(_) => workunit.increment_counter(Metric::DockerExecutionErrors, 1),
}

Expand Down
2 changes: 1 addition & 1 deletion src/rust/engine/workunit_store/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub enum Metric {
/// Number of times that we backtracked due to missing digests.
BacktrackAttempts,
DockerExecutionRequests,
DockerExecutionSuccess,
DockerExecutionSuccesses,
DockerExecutionErrors,
}

Expand Down

0 comments on commit 3bb31ce

Please sign in to comment.