mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-08 16:33:07 +00:00
Fixes error where empty string is passed as datapath
This commit is contained in:
parent
3914d58a6a
commit
939eed544d
@ -17,7 +17,7 @@ namespace CodexDiscordBotPlugin
|
||||
AddEnvVar("ADMINROLE", config.AdminRoleName);
|
||||
AddEnvVar("ADMINCHANNELNAME", config.AdminChannelName);
|
||||
|
||||
if (config.DataPath != null)
|
||||
if (!string.IsNullOrEmpty(config.DataPath))
|
||||
{
|
||||
AddEnvVar("DATAPATH", config.DataPath);
|
||||
AddVolume(config.DataPath, 1.GB());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user