From b42f501554192e5a1db22d3d8432fa69c6d210d2 Mon Sep 17 00:00:00 2001 From: Akis Maziotis Date: Mon, 15 Jul 2024 11:06:32 +0300 Subject: [PATCH] [feat] updating the rudder key using the plugins key environment variable Reverting https://github.com/mattermost/mattermost-plugin-ai/pull/221 Ticket: https://mattermost.atlassian.net/browse/CLD-8054 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0a80f2cb..5f4b3fc9 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ INCLUDE_FFMPEG ?= BUILD_HASH = $(shell git rev-parse HEAD) LDFLAGS += -X "main.buildHash=$(BUILD_HASH)" LDFLAGS += -X "main.isDebug=$(MM_DEBUG)" -LDFLAGS += -X "main.rudderWriteKey=$(MM_RUDDER_PLUGINS_PROD)" +LDFLAGS += -X "main.rudderWriteKey=$(MM_RUDDER_PLUGIN_AI_PROD)" LDFLAGS += -X "main.rudderDataplaneURL=$(MM_RUDDER_DATAPLANE_URL)" GO_BUILD_FLAGS += -ldflags '$(LDFLAGS)'