diff --git a/Makefile b/Makefile index bcee601..c4606e6 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,6 @@ REPO ?= $(shell go list -m) VERSION ?= $(shell git describe --tags --dirty --always) BUILD ?= $(shell date -u --iso=seconds) -DEBUG ?= false HUB_IMAGE ?= nspccdev/neofs-http-gw HUB_TAG ?= "$(shell echo ${VERSION} | sed 's/^v//')" @@ -24,8 +23,7 @@ $(BINS): $(DIRS) dep GO111MODULE=on \ go build -v -trimpath \ -ldflags "-X main.Version=$(VERSION) \ - -X main.Build=$(BUILD) \ - -X main.Debug=$(DEBUG)" \ + -X main.Build=$(BUILD)" \ -o $@ ./ $(DIRS): diff --git a/misc.go b/misc.go index d6fbe2d..1541334 100644 --- a/misc.go +++ b/misc.go @@ -5,5 +5,4 @@ const Prefix = "HTTP_GW" var ( Build = "now" Version = "dev" - Debug = "false" )