Skip to content

Commit a959ee7

Browse files
committed
adding job initialization count to log message
1 parent b9d45ff commit a959ee7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

x-pack/plugins/ml/server/saved_objects/initialization.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ export function jobSavedObjectsInitializationFactory(core: CoreStart) {
3939
() => Promise.resolve() // pretend isMlReady, to allow us to initialize the saved objects
4040
);
4141
const { initSavedObjects } = repairFactory(client, jobSavedObjectService);
42-
await initSavedObjects();
43-
mlLog.info('Job saved objects initialized for * space');
42+
const { jobs } = await initSavedObjects();
43+
mlLog.info(`${jobs.length} job saved objects initialized for * space`);
4444
} catch (error) {
4545
mlLog.error('Error Initializing jobs');
4646
}

0 commit comments

Comments
 (0)