From c597244a9d909b4b26f15fe0c6db356289098c01 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 15 Nov 2020 12:07:02 +0100 Subject: [PATCH] bundles/dhcpd: adjust spacing in metadata processor for static leases --- bundles/dhcpd/metadata.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bundles/dhcpd/metadata.py b/bundles/dhcpd/metadata.py index 5712ead..2dafe29 100644 --- a/bundles/dhcpd/metadata.py +++ b/bundles/dhcpd/metadata.py @@ -14,9 +14,10 @@ def get_static_allocations(metadata): for identifier, interface in rnode.metadata.get('interfaces', {}).items(): if interface.get('dhcp', False): allocations[rnode.name] = { - 'ipv4': sorted(interface['ips'])[0], - 'mac': interface['mac'], + 'ipv4': sorted(interface['ips'])[0], + 'mac': interface['mac'], } + return { 'dhcpd': { 'fixed_allocations': allocations,