From 13efdbee83173a775f211f08cd259b99a41cafae Mon Sep 17 00:00:00 2001 From: spiral Date: Tue, 14 Jun 2022 14:41:32 -0400 Subject: [PATCH] typo --- PluralKit.Bot/Init.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Init.cs b/PluralKit.Bot/Init.cs index eced4e04..20156915 100644 --- a/PluralKit.Bot/Init.cs +++ b/PluralKit.Bot/Init.cs @@ -21,7 +21,7 @@ public class Init private static async Task Main(string[] args) { // set cluster config from Nomad node index env variable - if (Environment.GetEnvironmentVariable("NOMAD_NODE_INDEX") is {} nodeIndex) + if (Environment.GetEnvironmentVariable("NOMAD_ALLOC_INDEX") is { } nodeIndex) Environment.SetEnvironmentVariable("PluralKit__Bot__Cluster__NodeName", $"pluralkit-{nodeIndex}"); // Load configuration and run global init stuff