From ae89dc3eb71bf31598a64b93836fa787f868dd56 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Thu, 21 Dec 2023 09:08:29 -0500 Subject: [PATCH] Nullify `IRemoteDeploymentManager` --- .../Deployment/Remote/IRemoteDeploymentManager.cs | 8 +++----- src/Tgstation.Server.Host/Components/Instance.cs | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManager.cs b/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManager.cs index de92f3d31b..e73f6a1063 100644 --- a/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManager.cs +++ b/src/Tgstation.Server.Host/Components/Deployment/Remote/IRemoteDeploymentManager.cs @@ -6,8 +6,6 @@ using System.Threading.Tasks; using Tgstation.Server.Host.Components.Repository; using Tgstation.Server.Host.Models; -#nullable disable - namespace Tgstation.Server.Host.Components.Deployment.Remote { /// @@ -36,7 +34,7 @@ namespace Tgstation.Server.Host.Components.Deployment.Remote /// A representing the running operation. ValueTask StageDeployment( CompileJob compileJob, - Action activationCallback, + Action? activationCallback, CancellationToken cancellationToken); /// @@ -70,8 +68,8 @@ namespace Tgstation.Server.Host.Components.Deployment.Remote /// The deployed . /// The of the previous deployment. /// The . - /// The GitHub repostiory owner. - /// The GitHub repostiory name. + /// The remote repostiory owner. + /// The remote repostiory name. /// The for the operation. /// A representing the running operation. ValueTask PostDeploymentComments( diff --git a/src/Tgstation.Server.Host/Components/Instance.cs b/src/Tgstation.Server.Host/Components/Instance.cs index 8693e5cb26..9e6b2de4a5 100644 --- a/src/Tgstation.Server.Host/Components/Instance.cs +++ b/src/Tgstation.Server.Host/Components/Instance.cs @@ -387,7 +387,7 @@ namespace Tgstation.Server.Host.Components var updatedTestMerges = await remoteDeploymentManager.RemoveMergedTestMerges( repo, repositorySettings, - currentRevInfo, + currentRevInfo!, cancellationToken); var result = await repo.MergeOrigin(