mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Custom Script Health Issue Level
(cherry picked from commit 5938c38bc3a76d1f1e105fb54d5d7f59aa207278)
This commit is contained in:
parent
2334b30633
commit
8fe52c3f25
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
|
|||
var environmentVariables = new StringDictionary();
|
||||
|
||||
environmentVariables.Add("Lidarr_EventType", "HealthIssue");
|
||||
environmentVariables.Add("Lidarr_Health_Issue_Level", nameof(healthCheck.Type));
|
||||
environmentVariables.Add("Lidarr_Health_Issue_Level", Enum.GetName(typeof(HealthCheckResult), healthCheck.Type));
|
||||
environmentVariables.Add("Lidarr_Health_Issue_Message", healthCheck.Message);
|
||||
environmentVariables.Add("Lidarr_Health_Issue_Type", healthCheck.Source.Name);
|
||||
environmentVariables.Add("Lidarr_Health_Issue_Wiki", healthCheck.WikiUrl.ToString() ?? string.Empty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue