[Docker Monitor] Change tcp:// to http://

This commit is contained in:
Louis Lam 2022-10-04 16:19:56 +08:00
parent 1c4e97439c
commit 0686757160
4 changed files with 18 additions and 4 deletions

View file

@ -56,7 +56,7 @@ module.exports.dockerSocketHandler = (socket) => {
let amount = await DockerHost.testDockerHost(dockerHost);
let msg;
if (amount > 1) {
if (amount >= 1) {
msg = "Connected Successfully. Amount of containers: " + amount;
} else {
msg = "Connected Successfully, but there are no containers?";