Pull request: dhcpd: fix dbload panic
Closes #2991. Squashed commit of the following: commit cd820a9a903d628aa5964f8f973edc7bb7993ae5 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Apr 21 14:34:45 2021 +0300 dhcpd: fix err handling commit 775b834683f0edb5954b20fedb896e6af1fa843e Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Apr 21 14:21:41 2021 +0300 dhcpd: fix build for go1.15 commit 8441d6fffa72cc6890fad2df76559e21819786d6 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Apr 21 14:05:08 2021 +0300 dhcpd: fix dbload panic
This commit is contained in:
12
Makefile
12
Makefile
@@ -9,6 +9,10 @@ CLIENT_BETA_DIR = client2
|
||||
CLIENT_DIR = client
|
||||
COMMIT = $$(git rev-parse --short HEAD)
|
||||
DIST_DIR = dist
|
||||
# TODO(a.garipov): Find out a way to make this work in GNU Make.
|
||||
#
|
||||
# GO = $${GO:-go}
|
||||
#
|
||||
GO = go
|
||||
GOPROXY = https://goproxy.cn|https://proxy.golang.org|direct
|
||||
GPG_KEY = devteam@adguard.com
|
||||
@@ -93,10 +97,10 @@ go-check: go-tools go-lint go-test
|
||||
# A quick check to make sure that all supported operating systems can be
|
||||
# typechecked and built successfully.
|
||||
go-os-check:
|
||||
env GOOS='darwin' go vet ./internal/...
|
||||
env GOOS='freebsd' go vet ./internal/...
|
||||
env GOOS='linux' go vet ./internal/...
|
||||
env GOOS='windows' go vet ./internal/...
|
||||
env GOOS='darwin' $(GO) vet ./internal/...
|
||||
env GOOS='freebsd' $(GO) vet ./internal/...
|
||||
env GOOS='linux' $(GO) vet ./internal/...
|
||||
env GOOS='windows' $(GO) vet ./internal/...
|
||||
|
||||
openapi-lint: ; cd ./openapi/ && $(YARN) test
|
||||
openapi-show: ; cd ./openapi/ && $(YARN) start
|
||||
|
||||
Reference in New Issue
Block a user