Skip to content

Commit c566167

Browse files
committed
Update log
1 parent 5080f02 commit c566167

File tree

1 file changed

+1
-2
lines changed
  • nym-node-status-api/nym-node-status-api/src/db/queries

1 file changed

+1
-2
lines changed

nym-node-status-api/nym-node-status-api/src/db/queries/nym_nodes.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ pub(crate) async fn update_nym_nodes(
9696
.map(|records| records.into_iter().map(|record| record.node_id as NodeId))?
9797
.collect::<HashSet<NodeId>>();
9898

99-
// active nodes will get updated on insert
10099
let inserted = node_records.len();
101100
for record in node_records {
102101
// https://www.sqlite.org/lang_upsert.html
@@ -148,7 +147,7 @@ pub(crate) async fn update_nym_nodes(
148147
}
149148

150149
if !nodes_to_delete.is_empty() {
151-
tracing::debug!("DELETE {} obsolete nodes", nodes_to_delete.len());
150+
tracing::debug!("DELETING {} obsolete nodes", nodes_to_delete.len());
152151
}
153152

154153
// clean up leftover nodes, which weren't inserted/updated

0 commit comments

Comments
 (0)