|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2020 the original author or authors.
|
|
|
|
|
* Copyright 2012-2021 the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -36,6 +36,7 @@ class Neo4jHealthDetailsHandler {
|
|
|
|
|
* @param edition the edition of the server
|
|
|
|
|
* @param resultSummary server information
|
|
|
|
|
*/
|
|
|
|
|
@SuppressWarnings("deprecation")
|
|
|
|
|
void addHealthDetails(Builder builder, String edition, ResultSummary resultSummary) {
|
|
|
|
|
ServerInfo serverInfo = resultSummary.server();
|
|
|
|
|
builder.up().withDetail("server", serverInfo.version() + "@" + serverInfo.address()).withDetail("edition",
|
|
|
|
|