Fixed: Don't throw error on Docker Update Attempt (#725)

This commit is contained in:
Qstick 2019-04-06 17:06:23 -04:00 committed by GitHub
commit d81b063388
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 5 deletions

View file

@ -209,7 +209,8 @@ namespace NzbDrone.Core.Update
if (_osInfo.IsDocker)
{
throw new CommandFailedException("Updating is disabled inside a docker container. Please update the container image.");
_logger.ProgressDebug("Updating is disabled inside a docker container. Please update the container image.");
return;
}
if (OsInfo.IsNotWindows && !_configFileProvider.UpdateAutomatically && message.Trigger != CommandTrigger.Manual)