Kaydet (Commit) a37ec1eb authored tarafından Hakkı Dizdar's avatar Hakkı Dizdar

Çıktı değiştirildi

üst ccfa2797
......@@ -42,10 +42,10 @@ app.post(
}),
(req, res) => {
docker.listImages(function (_, images) {
res.send(
const status =
images.filter((i) => i.RepoTags[0].startsWith(req.body.image))
.length !== 0
);
.length !== 0;
res.status(status ? 200 : 422).end();
});
}
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment