Improve waiting for dns screen
This commit is contained in:
@@ -537,7 +537,7 @@ async function deleteContainers(appId, options) {
|
||||
const labels = [ 'appId=' + appId ];
|
||||
if (options.managedOnly) labels.push('isCloudronManaged=true');
|
||||
|
||||
const [error, containers] = await safe(gConnection.listContainers({ all: options.all, filters: JSON.stringify({ label: labels }) }));
|
||||
const [error, containers] = await safe(gConnection.listContainers({ all: typeof options.all === 'undefined' ? 1 : options.all, filters: JSON.stringify({ label: labels }) }));
|
||||
if (error) throw new BoxError(BoxError.DOCKER_ERROR, error);
|
||||
|
||||
for (const container of containers) {
|
||||
|
||||
Reference in New Issue
Block a user