Skip to content

Commit

Permalink
Fix restate invocation ls issue with full_count field (#2140)
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper authored Oct 18, 2024
1 parent cde2ff4 commit 0d81c5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/clients/datafusion_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ struct InvocationRowResult {
trace_id: Option<String>,
completion_result: Option<String>,
completion_failure: Option<String>,
full_count: Option<i64>,
full_count: i64,
}

pub async fn find_active_invocations(
Expand Down Expand Up @@ -905,7 +905,7 @@ pub async fn find_active_invocations(
),
});

full_count = row.full_count.expect("full_count") as usize;
full_count = row.full_count as usize;
}
Ok((active, full_count))
}
Expand Down

0 comments on commit 0d81c5a

Please sign in to comment.