Skip to content

Commit 8b89fe7

Browse files
authored
Merge pull request #4327 from makhov/external-etcd-shutdown
Fixed Stop() for external etcd
2 parents b887f84 + 873cb5a commit 8b89fe7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/component/controller/etcd.go

+4
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ func (e *Etcd) Start(ctx context.Context) error {
230230

231231
// Stop stops etcd
232232
func (e *Etcd) Stop() error {
233+
if e.Config.IsExternalClusterUsed() {
234+
return nil
235+
}
236+
233237
return e.supervisor.Stop()
234238
}
235239

0 commit comments

Comments
 (0)