diff --git a/Makefile b/Makefile index 91cb520..525c88d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ APP_NAME = tele-proc GO_FILES = $(shell find . -name '*.go' -type f) CONFIG_DIR = configs BUILD_DIR = build -MAIN_RECEIVER = ./cmd/receiver/main.go +MAIN_RECEIVER = ./cmd/main/main.go # Default target .PHONY: all @@ -41,7 +41,7 @@ run-test: .PHONY: test test: @echo "Running tests..." - @go test ./... + @ginkgo -r -v # Clean build artifacts .PHONY: clean diff --git a/internal/config/config.go b/internal/config/config.go index 80e04f1..a46fd19 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -153,8 +153,3 @@ func ValidateConfig(cfg *Config) error { fmt.Println("config validation passed") return nil } - -// func logAndReturnError(log *logrus.Logger, msg string) error { -// log.Error(msg) -// return fmt.Errorf(msg) -// }