@netgreener/runtime 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtimeHealth.js +1 -1
- package/package.json +1 -1
package/dist/runtimeHealth.js
CHANGED
|
@@ -118,7 +118,7 @@ export function buildRuntimeHealthV0() {
|
|
|
118
118
|
if (!state.hooksActive) {
|
|
119
119
|
status = 'unknown';
|
|
120
120
|
}
|
|
121
|
-
else if (state.exportFail > 0 && failRate >= 0.5) {
|
|
121
|
+
else if (state.lastError && state.exportFail > 0 && failRate >= 0.5) {
|
|
122
122
|
status = 'conflict';
|
|
123
123
|
remediation.push('Check NETGREENER_API_URL / NETGREENER_TOKEN (direct) or NETGREENER_COLLECTOR_ENDPOINT (collector).');
|
|
124
124
|
}
|
package/package.json
CHANGED