diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -146,7 +146,9 @@ pub async fn filter_request( | (&Method::OPTIONS, [index, "_mapping"]) => { filter_read_request(index, path_chunks[1], ¶ms, config)? } - _ => Err(ProxyError::NotSupported("unknown elasticsearch API endpoint".to_string()))?, + _ => Err(ProxyError::NotSupported( + "unknown elasticsearch API endpoint".to_string(), + ))?, }; let upstream_query = serde_urlencoded::to_string(params).expect("re-encoding URL parameters"); |