mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 00:30:11 +00:00
typo
This commit is contained in:
parent
c4726f358b
commit
13efdbee83
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ public class Init
|
||||||
private static async Task Main(string[] args)
|
private static async Task Main(string[] args)
|
||||||
{
|
{
|
||||||
// set cluster config from Nomad node index env variable
|
// 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}");
|
Environment.SetEnvironmentVariable("PluralKit__Bot__Cluster__NodeName", $"pluralkit-{nodeIndex}");
|
||||||
|
|
||||||
// Load configuration and run global init stuff
|
// Load configuration and run global init stuff
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue