Skip to content

Commit

Permalink
fix: Add second capture on consumer regex
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe committed Jun 5, 2024
1 parent e4b365f commit abffe00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub fn run_metrics_collector(state: Arc<State>) {

let config = get_config();
let client = reqwest::Client::builder().build().unwrap();
let project_regex = Regex::new(r"prj-(.+)\..+").unwrap();
let project_regex = Regex::new(r"prj-(.+)\.(.+)").unwrap();
let mut last_execution = Utc::now();

loop {
Expand Down

0 comments on commit abffe00

Please sign in to comment.