From 440ff2bbd5aeae69d29e18314ab9fdd4eef8ab81 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Fri, 1 Sep 2023 19:03:58 -0400 Subject: [PATCH] spelling: submitted Signed-off-by: Josh Soref --- api/graph/celery.go | 2 +- buildsrht/runner.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/graph/celery.go b/api/graph/celery.go index 991c5b3..e4d7068 100644 --- a/api/graph/celery.go +++ b/api/graph/celery.go @@ -12,7 +12,7 @@ import ( var ( buildsSubmitted = promauto.NewCounter(prometheus.CounterOpts{ - Name: "buildsrht_builds_submited_total", + Name: "buildsrht_builds_submitted_total", Help: "Number of builds submitted", }) ) diff --git a/buildsrht/runner.py b/buildsrht/runner.py index 0c18291..8140e71 100644 --- a/buildsrht/runner.py +++ b/buildsrht/runner.py @@ -20,7 +20,7 @@ runner = Celery('builds', broker=builds_broker, config_source={ }) builds_queue_metrics_collector = RedisQueueCollector(builds_broker, "buildsrht_builds", "Number of builds currently in queue") -builds_submitted = Counter("buildsrht_builds_submited", "Number of builds submitted") +builds_submitted = Counter("buildsrht_builds_submitted", "Number of builds submitted") def submit_build(user, manifest, note=None, tags=[], visibility=None): resp = exec_gql("builds.sr.ht", """ -- 2.38.5