Skip to content

Commit 97dabb5

Browse files
committed
Typo fixed
1 parent b3e8925 commit 97dabb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/process/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default class ProcessController {
3838

3939
// Create ElastAlert index if it doesn't exist yet
4040
logger.info('Creating index');
41-
var indexCreate = spawnSync('python', ['-m', config.get('writeback_index'), '--index', 'elastalert_status', '--old-index', ''], {
41+
var indexCreate = spawnSync('python', ['-m', 'elastalert.create_index', '--index', config.get('writeback_index'), '--old-index', ''], {
4242
cwd: this._elastalertPath
4343
});
4444

0 commit comments

Comments
 (0)