mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
Log suffixes on commit_find_files request
Summary: These are not logged because it was added recently but the logging code was not added. I would prefer to use some destructuring here to guarantee we consider all fields, but it goest a bit against the idea of the `_dot_dot_Default` field. Differential Revision: D42096917 fbshipit-source-id: b22ac79f42747f3d8891b2dd31202bd30c618dc6
This commit is contained in:
parent
a5b64222c2
commit
06066e1c51
@ -205,9 +205,15 @@ impl AddScubaParams for thrift::CommitFindFilesParams {
|
||||
if let Some(basenames) = &self.basenames {
|
||||
scuba.add("param_basenames", basenames.iter().collect::<ScubaValue>());
|
||||
}
|
||||
if let Some(suffixes) = &self.basename_suffixes {
|
||||
scuba.add("param_suffixes", suffixes.iter().collect::<ScubaValue>());
|
||||
}
|
||||
if let Some(prefixes) = &self.prefixes {
|
||||
scuba.add("param_prefixes", prefixes.iter().collect::<ScubaValue>());
|
||||
}
|
||||
if let Some(after) = &self.after {
|
||||
scuba.add("param_after", after.as_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user