Skip to content

Commit

Permalink
ClusterModifier: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Druzhitskiy committed Jan 8, 2024
1 parent 7490242 commit ff88f23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/ClusterModifier/ClusterExpandArguments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ClusterExpandArguments : CommonWithSshArguments
[Option("dry-run", Required = false, HelpText = "Do not copy anything")]
public bool DryRun { get; set; } = false;

[Option("dry-run", Required = false, HelpText = "Special testing run with no interactions with cluster")]
[Option("test-run", Required = false, HelpText = "Special testing run with no interactions with cluster")]
public bool TestRun { get; set; } = false;

[Option("remove-unused-replicas", Required = false, HelpText = "Remove files in unused replicas")]
Expand Down
5 changes: 0 additions & 5 deletions src/ClusterModifier/ClusterExpander.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;

namespace ClusterModifier;

Expand All @@ -9,10 +8,6 @@ public class ClusterExpander
private readonly ClusterStateFinder _clusterStateFinder;
private readonly WorkSpecificationFinder _workSpecificationFinder;
private readonly ClusterStateAlterer _clusterStateAlterer;
private readonly ICopier _copier;
private readonly IRemover _remover;
private readonly ClusterExpandArguments _args;
private readonly ILogger<ClusterExpander> _logger;

public ClusterExpander(
ClusterStateFinder clusterStateFinder,
Expand Down
5 changes: 4 additions & 1 deletion src/ClusterModifier/ClusterStateAlterer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ CancellationToken cancellationToken
op.DirToDelete
);
foreach (var dir in workSpecification.UnconfirmedDeleteDirs)
_logger.LogInformation("Expected removing directory {Dir} without checking copies");
_logger.LogInformation(
"Expected removing directory {Dir} without checking copies",
dir
);
}
else
{
Expand Down

0 comments on commit ff88f23

Please sign in to comment.