From 8664c54d99c5dc183a39460e4ccb3c98436ef0e6 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Sun, 9 Jun 2019 21:13:50 -0700 Subject: [PATCH] only count master for iteration --- integrations/influxunifi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/influxunifi/Makefile b/integrations/influxunifi/Makefile index 91881816..3569d2d5 100644 --- a/integrations/influxunifi/Makefile +++ b/integrations/influxunifi/Makefile @@ -4,7 +4,7 @@ MAINT="david at sleepers dot pro" DESC="This daemon polls a Unifi controller at a short interval and stores the collected metric data in an Influx Database." PACKAGE:=./cmd/$(BINARY) VERSION:=$(shell git tag -l --merged | tail -n1 | tr -d v) -ITERATION:=$(shell git rev-list --all --count) +ITERATION:=$(shell git rev-list --count master) all: man build