mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-05-25 18:49:25 +00:00
18 lines
574 B
C#
18 lines
574 B
C#
namespace StoragePlugin
|
|
{
|
|
public class LogosStorageDockerImage
|
|
{
|
|
private const string DefaultDockerImage = "logosstorage/logos-storage-nim:latest-dist-tests";
|
|
|
|
public static string Override { get; set; } = string.Empty;
|
|
|
|
public string GetLogosStorageDockerImage()
|
|
{
|
|
var image = Environment.GetEnvironmentVariable("STORAGEDOCKERIMAGE");
|
|
if (!string.IsNullOrEmpty(image)) return image;
|
|
if (!string.IsNullOrEmpty(Override)) return Override;
|
|
return DefaultDockerImage;
|
|
}
|
|
}
|
|
}
|