From 23e4b4a27d915191dc4f1164c86e26651b379a11 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 31 Oct 2017 17:36:41 -0400 Subject: PLT-7810 Track if an APIv3 endpoint was used in the last day (#7744) * Track if an APIv3 endpoint was used in the last day * Make it atomic --- model/client.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'model') diff --git a/model/client.go b/model/client.go index 37f014e6b..ef890b593 100644 --- a/model/client.go +++ b/model/client.go @@ -18,6 +18,8 @@ import ( l4g "github.com/alecthomas/log4go" ) +var UsedApiV3 *int32 = new(int32) + const ( HEADER_REQUEST_ID = "X-Request-ID" HEADER_VERSION_ID = "X-Version-ID" -- cgit v1.2.3-1-g7c22