Use new envs in Makefile

FILTER_DEFAULT is a legacy env, FILTERS_DEFAULT should be used
This commit is contained in:
Łukasz Mierzwa
2018-01-31 21:11:10 -08:00
parent 396ace2aa3
commit 58077fa0ec

View File

@@ -79,7 +79,7 @@ run: $(NAME)
LABELS_COLOR_UNIQUE="@receiver instance cluster" \
LABELS_COLOR_STATIC="job" \
DEBUG="$(GIN_DEBUG)" \
FILTER_DEFAULT="@state=active" \
FILTERS_DEFAULT="@state=active" \
PORT=$(PORT) \
./$(NAME)
@@ -98,6 +98,7 @@ run-docker: docker-image
-e LABELS_COLOR_UNIQUE="instance cluster" \
-e LABELS_COLOR_STATIC="job" \
-e DEBUG="$(GIN_DEBUG)" \
-e FILTERS_DEFAULT="@state=active" \
-e PORT=$(PORT) \
-p $(PORT):$(PORT) \
$(NAME):$(VERSION)