Compare commits

..

No commits in common. "34550c8ab4b3a2c6616d9791f2c92650f95b9a55" and "a6ddce2ee10dce30c4ac8542a27b114dbd3a4b85" have entirely different histories.

3 changed files with 3 additions and 3 deletions

View file

@ -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. * This file is part of StatoolInfos, simple service statistics tool.
* *

View file

@ -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. * This file is part of StatoolInfos, simple service statistics tool.
* *

View file

@ -102,7 +102,7 @@ public class Uptime
{ {
this.datetime = LocalDateTime.now(); this.datetime = LocalDateTime.now();
this.code = code; this.code = code;
if ((HttpStatusCategory.isSuccess(code)) || (HttpStatusCategory.isUnauthorized(code))) if (HttpStatusCategory.isSuccess(code))
{ {
this.status = UptimeStatus.OK; this.status = UptimeStatus.OK;
} }