Compare commits

..

1 Commits

Author SHA1 Message Date
Cameron Cordes
f1a7cbc0f0 Use IntGauge for media counts
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit
2021-05-01 00:01:17 -04:00

View File

@@ -381,8 +381,8 @@ fn update_media_counts(media_dir: &PathBuf) {
} }
} }
IMAGE_GAUGE.set(image_count); IMAGE_GAUGE.set(image_count as f64);
VIDEO_GAUGE.set(video_count); VIDEO_GAUGE.set(video_count as f64);
} }
fn is_image(entry: &DirEntry) -> bool { fn is_image(entry: &DirEntry) -> bool {