|
|
@ -20,7 +20,7 @@ namespace NzbDrone.Core.DiskSpace
|
|
|
|
private readonly IDiskProvider _diskProvider;
|
|
|
|
private readonly IDiskProvider _diskProvider;
|
|
|
|
private readonly Logger _logger;
|
|
|
|
private readonly Logger _logger;
|
|
|
|
|
|
|
|
|
|
|
|
private static readonly Regex _regexSpecialDrive = new Regex("^/var/lib/(docker|rancher|kubelet)(/|$)|^/boot(/|$)|/docker(/var)?/aufs(/|$)", RegexOptions.Compiled);
|
|
|
|
private static readonly Regex _regexSpecialDrive = new Regex("^/var/lib/(docker|rancher|kubelet)(/|$)|^/(boot|etc)(/|$)|/docker(/var)?/aufs(/|$)", RegexOptions.Compiled);
|
|
|
|
|
|
|
|
|
|
|
|
public DiskSpaceService(IArtistService artistService, IDiskProvider diskProvider, Logger logger)
|
|
|
|
public DiskSpaceService(IArtistService artistService, IDiskProvider diskProvider, Logger logger)
|
|
|
|
{
|
|
|
|
{
|
|
|
|