[types removal] Remove type from bulk_uploader in monitoring (#32315)

* [types removal] Remove type from bulk_uploader in monitoring

* Remove type from get_settings_collector

* Revert changes
This commit is contained in:
Daniil Suleiman 2019-03-05 12:52:32 +03:00 committed by Alexey Antonov
parent c3b9a58990
commit 748c18b8f4

View file

@ -36,7 +36,6 @@ export async function getDefaultAdminEmail(config, callCluster, log) {
const version = config.get('pkg.version');
const uiSettingsDoc = await callCluster('get', {
index,
type: 'doc',
id: `config:${version}`,
ignore: [400, 404] // 400 if the index is closed, 404 if it does not exist
});