Fix IDE messages in DmbFactory

This commit is contained in:
Jordan Dominion
2023-12-22 09:42:26 -05:00
parent d2ee58740f
commit 358e6ca1c8
@@ -76,7 +76,7 @@ namespace Tgstation.Server.Host.Components.Deployment
/// <summary>
/// Map of <see cref="CompileJob.JobId"/>s to locks on them.
/// </summary>
readonly IDictionary<long, int> jobLockCounts;
readonly Dictionary<long, int> jobLockCounts;
/// <summary>
/// <see cref="TaskCompletionSource"/> resulting in the latest <see cref="DmbProvider"/> yet to exist.
@@ -255,7 +255,7 @@ namespace Tgstation.Server.Host.Components.Deployment
if (!EngineVersion.TryParse(compileJob.EngineVersion, out var engineVersion))
{
logger.LogWarning("Error loading compile job, bad engine version: {0}", compileJob.EngineVersion);
logger.LogWarning("Error loading compile job, bad engine version: {engineVersion}", compileJob.EngineVersion);
return null; // omae wa mou shinderu
}
@@ -353,7 +353,7 @@ namespace Tgstation.Server.Host.Components.Deployment
List<string> jobUidsToNotErase = null;
// find the uids of locked directories
if (jobIdsToSkip.Any())
if (jobIdsToSkip.Count > 0)
{
await databaseContextFactory.UseContext(async db =>
{