mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Rename sanity check fields avoid conflict with outer span
This commit is contained in:
parent
cf39455487
commit
21a03265a2
2 changed files with 3 additions and 3 deletions
|
@ -94,7 +94,7 @@ impl NormalSyncer<'_> {
|
|||
},
|
||||
} = &e
|
||||
{
|
||||
debug!(?client, ?server, "sanity check failed");
|
||||
debug!(client_counts=?client, server_counts=?server, "sanity check failed");
|
||||
self.col.set_schema_modified()?;
|
||||
}
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ pub fn server_sanity_check(
|
|||
let mut server = match col.storage.sanity_check_info() {
|
||||
Ok(info) => info,
|
||||
Err(err) => {
|
||||
info!(?client, ?err, "sanity check failed");
|
||||
info!(client_counts=?client, ?err, "sanity check failed");
|
||||
return Ok(SanityCheckResponse {
|
||||
status: SanityCheckStatus::Bad,
|
||||
client: Some(client),
|
||||
|
@ -108,7 +108,7 @@ pub fn server_sanity_check(
|
|||
status: if client == server {
|
||||
SanityCheckStatus::Ok
|
||||
} else {
|
||||
info!(?client, ?server, "sanity check failed");
|
||||
info!(client_counts=?client, server_counts=?server, "sanity check failed");
|
||||
SanityCheckStatus::Bad
|
||||
},
|
||||
client: Some(client),
|
||||
|
|
Loading…
Reference in a new issue