Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: don't skip member from tracing #118

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions cala-ledger/src/account_set/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,10 @@ impl AccountSets {
self.repo.find(account_set_id).await
}

#[instrument(
name = "cala_ledger.account_sets.find_where_member",
skip(self, member),
err
)]
#[instrument(name = "cala_ledger.account_sets.find_where_member", skip(self), err)]
pub async fn find_where_member(
&self,
member: impl Into<AccountSetMember>,
member: impl Into<AccountSetMember> + std::fmt::Debug,
query: PaginatedQueryArgs<AccountSetByNameCursor>,
) -> Result<PaginatedQueryRet<AccountSet, AccountSetByNameCursor>, AccountSetError> {
match member.into() {
Expand All @@ -316,13 +312,13 @@ impl AccountSets {

#[instrument(
name = "cala_ledger.account_sets.find_where_member_in_op",
skip(self, op, member),
skip(self, op),
err
)]
pub async fn find_where_member_in_op(
&self,
op: &mut AtomicOperation<'_>,
member: impl Into<AccountSetMember>,
member: impl Into<AccountSetMember> + std::fmt::Debug,
query: PaginatedQueryArgs<AccountSetByNameCursor>,
) -> Result<PaginatedQueryRet<AccountSet, AccountSetByNameCursor>, AccountSetError> {
match member.into() {
Expand Down
Loading