Skip to content

Commit

Permalink
Update canonical dhcp metric path template's docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jorund1 committed Sep 20, 2024
1 parent 76da903 commit 8a3030e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/nav/metrics/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ def metric_path_for_subnet_dhcp(subnet_prefix, metric_name):

def metric_path_for_ipdev_subnet_dhcp(subnet_prefix, metric_name, address, port):
"""
Metric path that is automatically shown in a netbox's system info tab
Metric path for dhcp metrics that will be automatically shown in a
netbox's 'System metrics' tab
"""
tmpl = "nav.devices.{address}.dhcp.{port}.subnet.{subnet_prefix}.{metric_name}"
if hasattr(subnet_prefix, 'strNormal') and callable(subnet_prefix.strNormal):
Expand Down

0 comments on commit 8a3030e

Please sign in to comment.