MCPcopy
hub / github.com/etcd-io/etcd / Stop

Method Stop

tests/framework/e2e/cluster_proxy.go:79–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func (p *proxyEtcdProcess) Stop() error {
80 err := p.proxyV3.Stop()
81 if eerr := p.EtcdServerProcess.Stop(); eerr != nil && err == nil {
82 // fails on go-grpc issue #1384
83 if !strings.Contains(eerr.Error(), "exit status 2") {
84 err = eerr
85 }
86 }
87 return err
88}
89
90func (p *proxyEtcdProcess) Close() error {
91 err := p.proxyV3.Close()

Callers

nothing calls this directly

Calls 3

StopMethod · 0.65
ContainsMethod · 0.65
ErrorMethod · 0.65

Tested by

no test coverage detected