From 9710a6cb967fd8e8440e6798a320c6bc675cf1d6 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/promunifi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/promunifi/Makefile b/integrations/promunifi/Makefile index 91881816..3569d2d5 100644 --- a/integrations/promunifi/Makefile +++ b/integrations/promunifi/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