Update [...service].js
This commit is contained in:
parent
a2aab6451c
commit
9ff977b339
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ export default async function handler(req, res) {
|
|||
});
|
||||
}
|
||||
|
||||
const containerNames = containers.map((container) => container.Names[0].replace(/^\//, ""));
|
||||
const containerNames = containers.map((container) => container.Names[0]?.replace(/^\//, ""));
|
||||
const containerExists = containerNames.includes(containerName);
|
||||
|
||||
if (containerExists) {
|
||||
|
|
Loading…
Add table
Reference in a new issue