From cb73258a84db24ea8a24801fbae597f8284a815e Mon Sep 17 00:00:00 2001 From: "David J. Allen" Date: Fri, 20 Sep 2024 16:56:46 -0600 Subject: [PATCH] Minor changes to error format in dhcpd plugin --- pkg/generator/plugins/dhcpd/dhcpd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/generator/plugins/dhcpd/dhcpd.go b/pkg/generator/plugins/dhcpd/dhcpd.go index a736064..1a37b9c 100644 --- a/pkg/generator/plugins/dhcpd/dhcpd.go +++ b/pkg/generator/plugins/dhcpd/dhcpd.go @@ -37,7 +37,7 @@ func (g *Dhcpd) Generate(config *configurator.Config, opts ...util.Option) (gene if client != nil { eths, err = client.FetchEthernetInterfaces(opts...) if err != nil { - return nil, fmt.Errorf("failed to fetch ethernet interfaces with client: %v", err) + return nil, fmt.Errorf("failed to fetch ethernet interfaces with client: %w", err) } }