Fix glances fs metric for disks with colon (#2170)

pull/2178/head
shamoon 7 months ago committed by GitHub
parent 7ea1d0dd47
commit 596e5c9b84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,7 @@ export default function Component({ service }) {
const { t } = useTranslation();
const { widget } = service;
const { chart } = widget;
const [, fsName] = widget.metric.split(':');
const [, fsName] = widget.metric.split('fs:');
const { data, error } = useWidgetAPI(widget, 'fs', {
refreshInterval: 1000,

Loading…
Cancel
Save