mirror of
https://github.com/valitydev/wazuh-kibana-app.git
synced 2024-11-07 10:18:57 +00:00
Checking the RAM in settings-wizard
This commit is contained in:
parent
e54ad65cc1
commit
033db85463
@ -11,11 +11,14 @@
|
||||
*/
|
||||
import checkTimestamp from './check-timestamp'
|
||||
import healthCheck from './health-check'
|
||||
import totalRAM from './check-ram'
|
||||
|
||||
export default ($rootScope, $location, $q, $window, testAPI, appState, genericReq, errorHandler) => {
|
||||
try {
|
||||
const deferred = $q.defer();
|
||||
|
||||
totalRAM(genericReq,errorHandler);
|
||||
|
||||
// Save current location if we aren't performing a health-check, to later be able to come back to the same tab
|
||||
if (!$location.path().includes("/health-check")) {
|
||||
$rootScope.previousLocation = $location.path();
|
||||
|
Loading…
Reference in New Issue
Block a user