mirror of
https://github.com/Readarr/Readarr
synced 2026-03-19 19:13:24 +01:00
more build fixes
This commit is contained in:
parent
0ef8f2b2f7
commit
ba1f2a5a7b
2 changed files with 5 additions and 2 deletions
|
|
@ -4,6 +4,7 @@
|
|||
using NzbDrone.Core.Books.Events;
|
||||
using NzbDrone.Core.ImportLists;
|
||||
using NzbDrone.Core.MediaFiles.Events;
|
||||
using NzbDrone.Core.RootFolders;
|
||||
|
||||
namespace NzbDrone.Core.HealthCheck.Checks
|
||||
{
|
||||
|
|
@ -18,7 +19,7 @@ public class RootFolderCheck : HealthCheckBase
|
|||
private readonly IDiskProvider _diskProvider;
|
||||
private readonly IRootFolderService _rootFolderService;
|
||||
|
||||
public RootFolderCheck(IArtistService authorService, IImportListFactory importListFactory, IDiskProvider diskProvider, IRootFolderService rootFolderService)
|
||||
public RootFolderCheck(IAuthorService authorService, IImportListFactory importListFactory, IDiskProvider diskProvider, IRootFolderService rootFolderService)
|
||||
{
|
||||
_authorService = authorService;
|
||||
_importListFactory = importListFactory;
|
||||
|
|
@ -28,7 +29,7 @@ public RootFolderCheck(IArtistService authorService, IImportListFactory importLi
|
|||
|
||||
public override HealthCheck Check()
|
||||
{
|
||||
var rootFolders = _artistService.GetAllAuthors()
|
||||
var rootFolders = _authorService.GetAllAuthors()
|
||||
.Select(s => _rootFolderService.GetBestRootFolderPath(s.Path))
|
||||
.Distinct();
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
using NLog;
|
||||
using NzbDrone.Common.Disk;
|
||||
using NzbDrone.Common.EnsureThat;
|
||||
using NzbDrone.Common.EnvironmentInfo;
|
||||
using NzbDrone.Common.Extensions;
|
||||
using NzbDrone.Common.Instrumentation;
|
||||
|
||||
|
|
@ -24,6 +25,7 @@ public class DiskProvider : DiskProviderBase
|
|||
private readonly IProcMountProvider _procMountProvider;
|
||||
private readonly ISymbolicLinkResolver _symLinkResolver;
|
||||
private readonly IRefLinkCreator _createRefLink;
|
||||
private readonly Logger _logger;
|
||||
|
||||
public DiskProvider(IProcMountProvider procMountProvider,
|
||||
ISymbolicLinkResolver symLinkResolver,
|
||||
|
|
|
|||
Loading…
Reference in a new issue