refactor: PR feedback

pull/24376/head
Edd Robinson 2020-07-01 11:39:47 +01:00
parent 06e9fae845
commit a51cfca49a
1 changed files with 6 additions and 1 deletions

View File

@ -154,7 +154,12 @@ impl MeasurementTable {
// supported in InfluxDB.
if let Some(fk) = self.field_columns.get(&field_key) {
if *fk != block_type {
warn!("Rejected field {:?} with type {:?} for measurement {:?}. Field exists with type: {:?}",&field_key,block_type, self.name, *fk);
warn!(
"Rejected block for field {:?} with type {:?}. \
Tagset: {:?}, measurement {:?}. \
Field exists with type: {:?}",
&field_key, block_type, tagset, self.name, *fk
);
return Ok(());
}
}