This commit is contained in:
Colfax Selby
2021-03-26 09:33:53 -04:00
parent a904442c55
commit 410df9c1be
2 changed files with 1 additions and 2 deletions

View File

@@ -157,7 +157,6 @@ const queryEth2ValidatorStatus = (nodeStatusCallback: NodeStatusCallback) => {
dockerContainerStatus("rocketpool_validator", nodeStatusCallback);
}
// TODO: make this better - it is very fragile
const dockerContainerStatus = async (containerName: string, nodeStatusCallback: NodeStatusCallback) => {
const containerId = executeCommandSyncReturnStdout(wrapCommandInDockerGroup("docker ps -q -f name=" + containerName));

View File

@@ -81,7 +81,7 @@ const NodeStatus: [string, string, string][] = [
["Online", "\u2B24", "green"], // 0
["Syncing", "\u2B24", "yellow"], // 1
["Offline", "\u2B24", "red"], // 2
["Loading...", "", ""] // 3
["Loading...", "", ""] // 3
]
// TODO: right after install, while nodes are starting up, this page says everything is "online"