Compare commits
No commits in common. "34550c8ab4b3a2c6616d9791f2c92650f95b9a55" and "a6ddce2ee10dce30c4ac8542a27b114dbd3a4b85" have entirely different histories.
34550c8ab4
...
a6ddce2ee1
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-022 Christian Pierre MOMON <christian@momon.org>
|
||||
* Copyright (C) 2020 Christian Pierre MOMON <christian@momon.org>
|
||||
*
|
||||
* This file is part of StatoolInfos, simple service statistics tool.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2022 Christian Pierre MOMON <christian@momon.org>
|
||||
* Copyright (C) 2020 Christian Pierre MOMON <christian@momon.org>
|
||||
*
|
||||
* This file is part of StatoolInfos, simple service statistics tool.
|
||||
*
|
||||
|
|
|
@ -102,7 +102,7 @@ public class Uptime
|
|||
{
|
||||
this.datetime = LocalDateTime.now();
|
||||
this.code = code;
|
||||
if ((HttpStatusCategory.isSuccess(code)) || (HttpStatusCategory.isUnauthorized(code)))
|
||||
if (HttpStatusCategory.isSuccess(code))
|
||||
{
|
||||
this.status = UptimeStatus.OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue