Minor changes to error format in dhcpd plugin

This commit is contained in:
David Allen 2024-09-20 16:56:46 -06:00
parent 751a2facdb
commit cb73258a84
Signed by: towk
GPG key ID: 793B2924A49B3A3F

View file

@ -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)
}
}