update
This commit is contained in:
parent
7f32f2429e
commit
65bfb5f8e2
10 changed files with 60 additions and 55 deletions
|
@ -305,7 +305,7 @@ pub fn unique_flows(i: &[String]) -> Vec<String> {
|
|||
if let Some(suffix) = s.strip_prefix("flow::") {
|
||||
// Extract the part after "flow::" and split on "::" to get the kind (ignoring id)
|
||||
let parts: Vec<&str> = suffix.split("::").collect();
|
||||
if let Some(kind) = parts.get(0) {
|
||||
if let Some(kind) = parts.first() {
|
||||
// Build the common prefix "flow::kind"
|
||||
let common_prefix = format!("flow::{}", kind);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue