MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / isZero

Method isZero

pkg/podlogs/cluster_writer.go:159–163  ·  view source on GitHub ↗

isZero checks if there are any active processes

()

Source from the content-addressed store, hash-verified

157
158// isZero checks if there are any active processes
159func (as *activeSet) isZero() bool {
160 as.m.Lock()
161 defer as.m.Unlock()
162 return len(as.set) == 0
163}
164
165// wait blocks until there are no active processes
166func (as *activeSet) wait() {

Callers 1

SingleStreamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected