refactor: Rename SyncProcessor.Process method

pull/326/head
Robert Dailey 5 months ago
parent f323ba79da
commit bf68ebbadb

@ -52,6 +52,6 @@ public class SyncCommand(IMigrationExecutor migration, IMultiRepoUpdater repoUpd
await repoUpdater.UpdateAllRepositories(settings.CancellationToken);
return (int) await syncProcessor.ProcessConfigs(settings, settings.CancellationToken);
return (int) await syncProcessor.Process(settings, settings.CancellationToken);
}
}

@ -4,5 +4,5 @@ namespace Recyclarr.Cli.Processors.Sync;
public interface ISyncProcessor
{
Task<ExitStatus> ProcessConfigs(ISyncSettings settings, CancellationToken ct);
Task<ExitStatus> Process(ISyncSettings settings, CancellationToken ct);
}

@ -23,7 +23,7 @@ public class SyncProcessor(
ConsoleExceptionHandler exceptionHandler)
: ISyncProcessor
{
public async Task<ExitStatus> ProcessConfigs(ISyncSettings settings, CancellationToken ct)
public async Task<ExitStatus> Process(ISyncSettings settings, CancellationToken ct)
{
bool failureDetected;
try

Loading…
Cancel
Save