MCPcopy
hub / github.com/dgraph-io/dgraph / printInspectContainers

Method printInspectContainers

dgraphtest/local_cluster.go:1299–1313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1297}
1298
1299func (c *LocalCluster) printInspectContainers() error {
1300 log.Printf("[INFO] inspecting all container for cluster with prefix [%v]", c.conf.prefix)
1301 var finalErr error
1302 for _, zo := range c.zeros {
1303 if err := c.printInspectFor(zo.containerName); err != nil {
1304 finalErr = fmt.Errorf("%v; %v", finalErr, err)
1305 }
1306 }
1307 for _, aa := range c.alphas {
1308 if err := c.printInspectFor(aa.containerName); err != nil {
1309 finalErr = fmt.Errorf("%v; %v", finalErr, err)
1310 }
1311 }
1312 return finalErr
1313}
1314
1315func (c *LocalCluster) printInspectFor(containerID string) error {
1316 inspectData, err := c.inspectContainer(containerID)

Callers 1

CleanupMethod · 0.95

Calls 2

printInspectForMethod · 0.95
ErrorfMethod · 0.45

Tested by

no test coverage detected