File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -857,7 +857,7 @@ impl Config {
857
857
tracing:: info!( "updating config from JSON: {:#}" , json) ;
858
858
if !( json. is_null ( ) || json. as_object ( ) . map_or ( false , |it| it. is_empty ( ) ) ) {
859
859
let mut json_errors = vec ! [ ] ;
860
- let detached_files = get_field :: < Vec < Utf8PathBuf > > (
860
+ let detached_files = get_field_json :: < Vec < Utf8PathBuf > > (
861
861
& mut json,
862
862
& mut json_errors,
863
863
"detachedFiles" ,
@@ -2660,7 +2660,7 @@ macro_rules! _config_data {
2660
2660
2661
2661
fn from_json( json: & mut serde_json:: Value , error_sink: & mut Vec <( String , serde_json:: Error ) >) -> Self {
2662
2662
Self { $(
2663
- $field: get_field (
2663
+ $field: get_field_json (
2664
2664
json,
2665
2665
error_sink,
2666
2666
stringify!( $field) ,
@@ -2778,7 +2778,7 @@ impl GlobalLocalConfigInput {
2778
2778
}
2779
2779
}
2780
2780
2781
- fn get_field < T : DeserializeOwned > (
2781
+ fn get_field_json < T : DeserializeOwned > (
2782
2782
json : & mut serde_json:: Value ,
2783
2783
error_sink : & mut Vec < ( String , serde_json:: Error ) > ,
2784
2784
field : & ' static str ,
You can’t perform that action at this time.
0 commit comments