mirror of
https://github.com/dadosfera/maestro.git
synced 2026-08-31 19:58:21 +00:00
FIX: remove last_run_canceled_at from PipelineDocument and update last_run_status handling
This commit is contained in:
@@ -52,7 +52,6 @@ interface PipelineDocument {
|
||||
keywords: MultiLangArray;
|
||||
// Pipeline run tracking
|
||||
last_run_status?: string;
|
||||
last_run_canceled_at?: string;
|
||||
}
|
||||
|
||||
@Injectable()
|
||||
@@ -381,7 +380,7 @@ export class ElasticsearchService {
|
||||
{
|
||||
doc: {
|
||||
last_run_status: lastRunStatus,
|
||||
...(lastRunStatus === 'CANCELED' ? { last_run_canceled_at: now } : {}),
|
||||
updated_at: now,
|
||||
},
|
||||
},
|
||||
{ params: { refresh: 'wait_for' } },
|
||||
|
||||
Reference in New Issue
Block a user