mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 15:05:50 +03:00
- fix linter
* commit '8cdef183586a90a8f9067e5271f799a7284e2270': * make ci: exec linter - fix linter
This commit is contained in:
commit
d23acd2016
2 changed files with 2 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -161,6 +161,7 @@ test:
|
|||
go test -race -v -bench=. -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
|
||||
ci: client_with_deps
|
||||
$(MAKE) lint
|
||||
go mod download
|
||||
$(MAKE) test
|
||||
|
||||
|
|
|
@ -458,7 +458,7 @@ func (s *v4Server) processRequest(req *dhcpv4.DHCPv4, resp *dhcpv4.DHCPv4) (*Lea
|
|||
s.commitLease(lease)
|
||||
} else if len(lease.Hostname) != 0 {
|
||||
o := &optFQDN{
|
||||
name: string(lease.Hostname),
|
||||
name: lease.Hostname,
|
||||
}
|
||||
fqdn := dhcpv4.Option{
|
||||
Code: dhcpv4.OptionFQDN,
|
||||
|
|
Loading…
Reference in a new issue