diff --git a/mktxp/datasource/dhcp_ds.py b/mktxp/datasource/dhcp_ds.py index 6744ddc..1ff86e4 100644 --- a/mktxp/datasource/dhcp_ds.py +++ b/mktxp/datasource/dhcp_ds.py @@ -32,7 +32,7 @@ class DHCPMetricsDataSource: if 'host_name' in metric_labels: translation_table['host_name'] = lambda c: c if c else '' if 'expires_after' in metric_labels: - translation_table['expires_after'] = lambda c: parse_mkt_uptime(c) + translation_table['expires_after'] = lambda c: parse_mkt_uptime(c) if c else 0 if 'active_address' in metric_labels: translation_table['active_address'] = lambda c: c if c else ''