Minor changes to error format in dhcpd plugin
This commit is contained in:
parent
751a2facdb
commit
cb73258a84
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ func (g *Dhcpd) Generate(config *configurator.Config, opts ...util.Option) (gene
|
||||||
if client != nil {
|
if client != nil {
|
||||||
eths, err = client.FetchEthernetInterfaces(opts...)
|
eths, err = client.FetchEthernetInterfaces(opts...)
|
||||||
if err != nil {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue