maint: naming cleanup

This commit is contained in:
Jeremy Wall 2024-02-13 15:53:12 -06:00
parent d855008747
commit 7ef0af2b43

View File

@ -61,10 +61,10 @@ impl<'conn> QueryConn<'conn> {
let (end, start, step_resolution) = if let Some(TimeSpan {
start: st,
duration: du,
step_seconds: step_millis,
step_seconds,
}) = self.span
{
((st + du).timestamp(), st.timestamp(), step_millis as f64)
((st + du).timestamp(), st.timestamp(), step_seconds as f64)
} else {
let end = Utc::now().timestamp();
let start = end - (60 * 10);