MCPcopy
hub / github.com/dockersamples/docker-swarm-visualizer / updateNode

Function updateNode

src/data-provider.js:153–156  ·  view source on GitHub ↗
(node, state, spec)

Source from the content-addressed store, hash-verified

151 if (cluster) cluster.children.push(cloned);
152 },
153 updateNode = (node, state, spec) => {
154 node.state = state;
155 node.Spec = spec;
156 },
157 updateData = (resources) => {
158 updateNodes(resources[0]);
159

Callers 1

updateNodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected