Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-n committed Oct 6, 2024
1 parent 5fe2564 commit a180127
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/Dapr/AdminPanel.Host/DockerConnectServerInstanceManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
using MUnique.OpenMU.Interfaces;
// <copyright file="DockerConnectServerInstanceManager.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>

using MUnique.OpenMU.Interfaces;

namespace MUnique.OpenMU.AdminPanel.Host;

Expand All @@ -19,18 +23,18 @@ public DockerConnectServerInstanceManager(IServerProvider serverProvider)
}

/// <inheritdoc />
public async ValueTask InitializeConnectServerAsync(byte serverId)
public async ValueTask InitializeConnectServerAsync(Guid connectServerDefinitionId)
{
// TODO: Implement this... by starting a new docker container

}

/// <inheritdoc />
public async ValueTask RemoveConnectServerAsync(byte serverId)
public async ValueTask RemoveConnectServerAsync(Guid connectServerDefinitionId)
{
var connectServers = this._serverProvider.Servers
.Where(server => server.Type == ServerType.ConnectServer)
.FirstOrDefault(server => server.Id == serverId);
.FirstOrDefault(server => server.ConfigurationId == connectServerDefinitionId);
if (connectServers is not null)
{
await connectServers.ShutdownAsync().ConfigureAwait(false);
Expand Down

0 comments on commit a180127

Please sign in to comment.