- fix linter
* commit '8cdef183586a90a8f9067e5271f799a7284e2270': * make ci: exec linter - fix linter
This commit is contained in:
commit
d23acd2016
1
Makefile
1
Makefile
|
@ -161,6 +161,7 @@ test:
|
||||||
go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
|
go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
|
||||||
|
|
||||||
ci: client_with_deps
|
ci: client_with_deps
|
||||||
|
$(MAKE) lint
|
||||||
go mod download
|
go mod download
|
||||||
$(MAKE) test
|
$(MAKE) test
|
||||||
|
|
||||||
|
|
|
@ -458,7 +458,7 @@ func (s *v4Server) processRequest(req *dhcpv4.DHCPv4, resp *dhcpv4.DHCPv4) (*Lea
|
||||||
s.commitLease(lease)
|
s.commitLease(lease)
|
||||||
} else if len(lease.Hostname) != 0 {
|
} else if len(lease.Hostname) != 0 {
|
||||||
o := &optFQDN{
|
o := &optFQDN{
|
||||||
name: string(lease.Hostname),
|
name: lease.Hostname,
|
||||||
}
|
}
|
||||||
fqdn := dhcpv4.Option{
|
fqdn := dhcpv4.Option{
|
||||||
Code: dhcpv4.OptionFQDN,
|
Code: dhcpv4.OptionFQDN,
|
||||||
|
|
Loading…
Reference in New Issue