feat: added initial Docker support (still testing) and refactored the database for case-sensitive hosts

This commit is contained in:
Michael Green
2023-07-02 01:12:26 +10:00
parent 6c2c093ec9
commit 1b14e697a2
20 changed files with 601 additions and 543 deletions

View File

@@ -27,7 +27,7 @@ namespace gaseous_server.Classes.Metadata
if (Id == 0)
{
Platform returnValue = new Platform();
if (Storage.GetCacheStatus("platform", 0) == Storage.CacheStatus.NotPresent)
if (Storage.GetCacheStatus("Platform", 0) == Storage.CacheStatus.NotPresent)
{
returnValue = new Platform
{
@@ -63,11 +63,11 @@ namespace gaseous_server.Classes.Metadata
Storage.CacheStatus? cacheStatus = new Storage.CacheStatus();
if (searchUsing == SearchUsing.id)
{
cacheStatus = Storage.GetCacheStatus("platform", (long)searchValue);
cacheStatus = Storage.GetCacheStatus("Platform", (long)searchValue);
}
else
{
cacheStatus = Storage.GetCacheStatus("platform", (string)searchValue);
cacheStatus = Storage.GetCacheStatus("Platform", (string)searchValue);
}
// set up where clause