diff --git a/src/server/NetworkResurrector.Server.Application/CommandHandlers/PingMachineHandler.cs b/src/server/NetworkResurrector.Server.Application/CommandHandlers/PingMachineHandler.cs index a53f7ad..16bcf42 100644 --- a/src/server/NetworkResurrector.Server.Application/CommandHandlers/PingMachineHandler.cs +++ b/src/server/NetworkResurrector.Server.Application/CommandHandlers/PingMachineHandler.cs @@ -24,9 +24,9 @@ namespace NetworkResurrector.Server.Application.CommandHandlers { try { - _logger.LogDebug($"Start pinging '{command.IPAddressOrMachineName}'."); - var (success, status) = await _pingService.PingMachine(command.IPAddressOrMachineName); - _logger.LogDebug($"Pinging on '{command.IPAddressOrMachineName}' finished. Status: {status}"); + _logger.LogDebug($"Start pinging '{command.IpAddressOrMachineName}'."); + var (success, status) = await _pingService.PingMachine(command.IpAddressOrMachineName); + _logger.LogDebug($"Pinging on '{command.IpAddressOrMachineName}' finished. Status: {status}"); return new MachinePinged(success, status); } catch (Exception ex) diff --git a/src/server/NetworkResurrector.Server.Application/Commands/PingMachine.cs b/src/server/NetworkResurrector.Server.Application/Commands/PingMachine.cs index c93614a..0fa0a91 100644 --- a/src/server/NetworkResurrector.Server.Application/Commands/PingMachine.cs +++ b/src/server/NetworkResurrector.Server.Application/Commands/PingMachine.cs @@ -6,11 +6,11 @@ namespace NetworkResurrector.Server.Application.Commands { public class PingMachine : Command { - public string IPAddressOrMachineName { get; set; } + public string IpAddressOrMachineName { get; set; } public PingMachine(string ipAddressOrMachineName) : base(new Metadata() { CorrelationId = Guid.NewGuid() }) { - IPAddressOrMachineName = ipAddressOrMachineName; + IpAddressOrMachineName = ipAddressOrMachineName; } } }