Skip to content

Commit

Permalink
Fix stream status for absent streams (#39)
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Thaler <[email protected]>
  • Loading branch information
dthaler authored Jun 12, 2024
1 parent 94c98a4 commit dd6a1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OrcanodeMonitor/Models/Orcanode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public string OrcaHelloName

private static OrcanodeOnlineStatus GetOrcasoundOnlineStatus(string slug, DateTime? manifestUpdatedUtc, DateTime? lastCheckedUtc)
{
if (slug == null)
if (slug.IsNullOrEmpty())
{
return OrcanodeOnlineStatus.Absent;
}
Expand Down

0 comments on commit dd6a1a1

Please sign in to comment.