mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Add DELETE_FAILED to stackStatusFilter
This commit is contained in:
parent
09f42976ce
commit
12801a34fe
@ -27,6 +27,11 @@ module.exports = {
|
||||
'DELETE_COMPLETE',
|
||||
'DELETE_IN_PROGRESS',
|
||||
];
|
||||
const stackStatusFilter = [
|
||||
'DELETE_COMPLETE',
|
||||
'DELETE_IN_PROGRESS',
|
||||
'DELETE_FAILED',
|
||||
];
|
||||
|
||||
return new BbPromise((resolve, reject) => {
|
||||
let stackStatus = null;
|
||||
@ -37,7 +42,7 @@ module.exports = {
|
||||
(callback) => {
|
||||
setTimeout(() => {
|
||||
const params = {
|
||||
StackStatusFilter: validStatuses,
|
||||
StackStatusFilter: stackStatusFilter,
|
||||
};
|
||||
return this.sdk.request('CloudFormation',
|
||||
'listStacks',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user