Fixed: Assume SABnzbd develop version is 3.0.0 if not specified

Fixes #4911
This commit is contained in:
bakerboy448 2022-02-22 15:19:49 -06:00 committed by Taloth Saldono
parent 4bfcd0de1d
commit 77412f2376
1 changed files with 3 additions and 3 deletions

View File

@ -340,8 +340,8 @@ namespace NzbDrone.Core.Download.Clients.Sabnzbd
return null; return null;
} }
major = 1; major = 3;
minor = 1; minor = 0;
patch = 0; patch = 0;
} }
@ -362,7 +362,7 @@ namespace NzbDrone.Core.Download.Clients.Sabnzbd
if (rawVersion.Equals("develop", StringComparison.InvariantCultureIgnoreCase)) if (rawVersion.Equals("develop", StringComparison.InvariantCultureIgnoreCase))
{ {
return new NzbDroneValidationFailure("Version", "Sabnzbd develop version, assuming version 1.1.0 or higher.") return new NzbDroneValidationFailure("Version", "Sabnzbd develop version, assuming version 3.0.0 or higher.")
{ {
IsWarning = true, IsWarning = true,
DetailedDescription = "Sonarr may not be able to support new features added to SABnzbd when running develop versions." DetailedDescription = "Sonarr may not be able to support new features added to SABnzbd when running develop versions."