8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8436226 commit < 8000 span class="fgColor-default">eb5ee49Copy full SHA for eb5ee49
arangod/RestHandler/RestStatusHandler.cpp
@@ -145,11 +145,12 @@ RestStatus RestStatusHandler::executeStandard(ServerSecurityFeature& security) {
145
146
if (!isStartup && !serverState->isSingleServer()) {
147
result.add( 7D7C "persistedId", VPackValue(serverState->getPersistedId()));
148
- if (auto rid = serverState->getRebootId(); rid.initialized()) {
149
- result.add("rebootId", VPackValue(rid.value()));
150
- }
151
152
if (!serverState->isAgent()) {
+ // agents do not initialize the reboot id
+ if (auto rid = serverState->getRebootId(); rid.initialized()) {
+ result.add("rebootId", VPackValue(rid.value()));
153
+ }
154
result.add("address", VPackValue(serverState->getEndpoint()));
155
result.add("serverId", VPackValue(serverState->getId()));
156
0 commit comments