Skip to content

Commit

Permalink
Merge pull request #4330 from k0sproject/backport-4327-to-release-1.29
Browse files Browse the repository at this point in the history
[Backport release-1.29] Fixed Stop() for external etcd
  • Loading branch information
makhov authored Apr 23, 2024
2 parents 5421d2d + 4f13f77 commit d9c8220
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/component/controller/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ func (e *Etcd) Start(ctx context.Context) error {

// Stop stops etcd
func (e *Etcd) Stop() error {
if e.Config.IsExternalClusterUsed() {
return nil
}

return e.supervisor.Stop()
}

Expand Down

0 comments on commit d9c8220

Please sign in to comment.