Fixed uptime button bug.
This commit is contained in:
parent
54a4cea231
commit
7a916178c4
1 changed files with 6 additions and 3 deletions
|
@ -319,12 +319,15 @@ public class UptimeJournal
|
||||||
if (iterator.hasNext())
|
if (iterator.hasNext())
|
||||||
{
|
{
|
||||||
Service current = iterator.next();
|
Service current = iterator.next();
|
||||||
|
if (current.getWebsiteURL() != null)
|
||||||
|
{
|
||||||
if (getUptimes(current.getWebsiteURL()).last().getStatus() == UptimeStatus.ERROR)
|
if (getUptimes(current.getWebsiteURL()).last().getStatus() == UptimeStatus.ERROR)
|
||||||
{
|
{
|
||||||
ended = true;
|
ended = true;
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ended = true;
|
ended = true;
|
||||||
|
|
Loading…
Reference in a new issue