From a5d730e06b414d41fb7cbd05ea9a8279aa323e9a Mon Sep 17 00:00:00 2001 From: Carl Johnsen Date: Tue, 8 Jul 2025 15:27:36 +0200 Subject: [PATCH] Changed from explicit type to var --- Tools/RemoteSynchronization/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/RemoteSynchronization/Program.cs b/Tools/RemoteSynchronization/Program.cs index 5ff4bae32..c713e1443 100644 --- a/Tools/RemoteSynchronization/Program.cs +++ b/Tools/RemoteSynchronization/Program.cs @@ -143,7 +143,7 @@ destination will be verified before being overwritten (if they seemingly match). private static async Task Run(Config config) { // Unpack and parse the multi token options - Dictionary global_options = ParseOptions(config.GlobalOptions); + var global_options = ParseOptions(config.GlobalOptions); // Parse the log level var log_level_parsed = Enum.TryParse(config.LogLevel, true, out var log_level_enum); @@ -167,8 +167,8 @@ destination will be verified before being overwritten (if they seemingly match). // Start the logging scope using var _ = Duplicati.Library.Logging.Log.StartScope(multi_sink, log_level_enum); - Dictionary src_opts = ParseOptions(config.SrcOptions); - Dictionary dst_opts = ParseOptions(config.DstOptions); + var src_opts = ParseOptions(config.SrcOptions); + var dst_opts = ParseOptions(config.DstOptions); // Merge the global options into the source and destination options. The global options will be overridden by the source and destination options. foreach (var x in global_options)