Skip to content

Commit

Permalink
nit: remove excessive logging of gcp (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppca authored Mar 8, 2024
1 parent 206ef4d commit 81453f8
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions node/src/gcp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,12 @@ impl DatastoreService {
read_options: None,
database_id: Some("".to_string()),
};
tracing::debug!(?request);
let (_, response) = self
.datastore
.projects()
.lookup(request, &self.project_id)
.doit()
.await?;
tracing::debug!(?response, "received response");
match response
.found
.and_then(|mut results| results.pop())
Expand Down Expand Up @@ -156,15 +154,12 @@ impl DatastoreService {
single_use_transaction: None,
transaction: None,
};
tracing::debug!(?request);
let (_, response) = self
let (_, _) = self
.datastore
.projects()
.commit(request, &self.project_id)
.doit()
.await?;
tracing::debug!(?response, "received response");

Ok(())
}

Expand Down Expand Up @@ -196,14 +191,12 @@ impl DatastoreService {
single_use_transaction: None,
transaction: None,
};
tracing::debug!(?request);
let (_, response) = self
let (_, _) = self
.datastore
.projects()
.commit(request, &self.project_id)
.doit()
.await?;
tracing::debug!(?response, "received response");

Ok(())
}
Expand Down Expand Up @@ -237,13 +230,12 @@ impl DatastoreService {
};

tracing::debug!(?request);
let (_, response) = self
let (_, _) = self
.datastore
.projects()
.commit(request, &self.project_id)
.doit()
.await?;
tracing::debug!(?response, "received response");

Ok(())
}
Expand Down Expand Up @@ -318,15 +310,12 @@ impl DatastoreService {
single_use_transaction: None,
transaction: None,
};
tracing::debug!(?request);
let (_, response) = self
let (_, _) = self
.datastore
.projects()
.commit(request, &self.project_id)
.doit()
.await?;
tracing::debug!(?response, "received response");

Ok(())
}
}
Expand Down

0 comments on commit 81453f8

Please sign in to comment.