diff --git a/src/app/VMStartStop/TagManager/API/TagManagerTimeTrigger.cs b/src/app/VMStartStop/TagManager/API/TagManagerTimeTrigger.cs index 84fa54a..7459570 100644 --- a/src/app/VMStartStop/TagManager/API/TagManagerTimeTrigger.cs +++ b/src/app/VMStartStop/TagManager/API/TagManagerTimeTrigger.cs @@ -1,6 +1,5 @@ using Microsoft.Azure.Functions.Worker; using Microsoft.Extensions.Logging; -using MyCo.TagManager.Application; using MyCo.TagManager.Application.Commands; using System.Text.Json; @@ -9,12 +8,10 @@ namespace MyCo.TagManager.API; public class TagManagerTimeTrigger { private readonly ILogger _logger; - private readonly ITagManagerService _tagManagerService; - public TagManagerTimeTrigger(ILoggerFactory loggerFactory, ITagManagerService tagManagerService) + public TagManagerTimeTrigger(ILoggerFactory loggerFactory) { _logger = loggerFactory.CreateLogger(); - _tagManagerService = tagManagerService; } [Function("TagManager")] @@ -25,9 +22,6 @@ public string Run([TimerTrigger("0 */15 * * * *")] TimerInfo myTimer) _logger.LogInformation($"Log triggered at: {myTimer.ScheduleStatus.Last}"); - _logger.LogInformation("Processing tags"); - _logger.LogInformation("Tags processed"); - if (myTimer.ScheduleStatus is not null) { _logger.LogInformation($"Next timer schedule at: {myTimer.ScheduleStatus.Next}");