Skip to content

Commit

Permalink
Merge branch 'master' into fix-depends
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroProfundis authored May 17, 2021
2 parents 04d61e9 + dd6b818 commit 4b07581
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/cluster/manager/scale_in.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ func (m *Manager) ScaleIn(
}

metadata, err := m.meta(name)
if err != nil && !errors.Is(perrs.Cause(err), meta.ErrValidate) &&
if err != nil &&
!errors.Is(perrs.Cause(err), meta.ErrValidate) &&
!errors.Is(perrs.Cause(err), spec.ErrMultipleTiSparkMaster) &&
!errors.Is(perrs.Cause(err), spec.ErrMultipleTisparkWorker) {
!errors.Is(perrs.Cause(err), spec.ErrMultipleTisparkWorker) &&
!errors.Is(perrs.Cause(err), spec.ErrNoTiSparkMaster) {
// ignore conflict check error, node may be deployed by former version
// that lack of some certain conflict checks
return err
Expand Down

0 comments on commit 4b07581

Please sign in to comment.