[java-identity-provider] 01/02: IDP-1850 - Status page is misreporting uptime

Scott Cantor cantor.2 at osu.edu
Fri Dec 17 17:05:32 UTC 2021


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch maint-4.1
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=5c8f34a70ccd6e3eb14ba62bc9a16525a0d1298f

commit 5c8f34a70ccd6e3eb14ba62bc9a16525a0d1298f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Aug 11 18:25:43 2021 -0400

    IDP-1850 - Status page is misreporting uptime
    
    https://shibboleth.atlassian.net/browse/IDP-1850
---
 idp-war/src/main/webapp/WEB-INF/jsp/status.jsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp b/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
index 3fbd94fbd..3afca10fa 100644
--- a/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
+++ b/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
@@ -31,7 +31,7 @@
 final RequestContext requestContext = (RequestContext) request.getAttribute("flowRequestContext");
 final DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ISO_INSTANT;
 final Instant now = Instant.now();
-final Instant startupTime = Instant.ofEpochMilli(requestContext.getActiveFlow().getApplicationContext().getStartupDate());
+final Instant startupTime = Instant.ofEpochMilli(requestContext.getActiveFlow().getApplicationContext().getParent().getStartupDate());
 %>### Operating Environment Information
 operating_system: <%= System.getProperty("os.name") %>
 operating_system_version: <%= System.getProperty("os.version") %>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list