more build fixes

This commit is contained in:
Robin Dadswell 2021-01-11 17:09:11 +00:00 committed by nitsua
parent 0ef8f2b2f7
commit ba1f2a5a7b
2 changed files with 5 additions and 2 deletions

View file

@ -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();

View file

@ -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,