fix: remove Buildarch from globals, main, Makefile, logger, and tests
All checks were successful
check / check (push) Successful in 4s

Buildarch was erroneously included. Remove it from:
- internal/globals/globals.go (struct field, package var, setter)
- cmd/dnswatcher/main.go (var declaration, setter call)
- Makefile (BUILDARCH var, ldflags)
- internal/logger/logger.go (Identify log field)
- internal/config/config_test.go (test fixture)
- README.md (build command, architecture section)
This commit is contained in:
clawbot
2026-03-04 03:48:45 -08:00
parent c15ca77bd7
commit c96ed42c31
6 changed files with 15 additions and 32 deletions

View File

@@ -2,8 +2,7 @@
BINARY := dnswatcher
VERSION := $(shell git describe --tags --always --dirty 2>/dev/null || echo "dev")
BUILDARCH := $(shell go env GOARCH)
LDFLAGS := -X main.Version=$(VERSION) -X main.Buildarch=$(BUILDARCH)
LDFLAGS := -X main.Version=$(VERSION)
all: check build