Skip to content

Commit f7b61e8

Browse files
authored
Added support to custom network on metrics collector (#43)
1 parent 551be0b commit f7b61e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: operator/src/metrics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pub async fn run_metrics_collector(state: Arc<State>) {
9292
let config = get_config();
9393
let client = reqwest::Client::builder().build().unwrap();
9494
let project_regex = Regex::new(r"prj-(.+)\..+").unwrap();
95-
let network_regex = Regex::new(r"([\w]+)-.+").unwrap();
95+
let network_regex = Regex::new(r"([\w-]+)-.+").unwrap();
9696
let mut last_execution = Utc::now();
9797

9898
loop {

0 commit comments

Comments
 (0)