Skip to content

Commit

Permalink
docker monitor remote monitoring bugfix (#1499)
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Lim <[email protected]>
  • Loading branch information
gvlim authored May 21, 2023
1 parent 943ab2a commit 8cef10c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class MonitorDocker extends MonitorInterface {
let remote = URL.parse(container, true);
if (remote.hostname === null || remote.port === null || remote.pathname === '/') {
Logger.warn('unrecognized host, ' + container);
} else if (filterName.remote.hasOwnProperty(remote.hostname)) {
} else if (filterName.hasOwnProperty(remote.hostname)) {
filterName[remote.hostname].containers.push(remote.pathname);
} else {
filterName[remote.hostname] = { port: remote.port, containers: [remote.pathname] };
Expand Down

0 comments on commit 8cef10c

Please sign in to comment.