Skip to content

Commit

Permalink
fix(agent): remove "toleration for all taints"
Browse files Browse the repository at this point in the history
Ref: Longhorn-5614

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang committed Mar 22, 2023
1 parent 246e8e4 commit aa95566
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,6 @@ func (m *SupportBundleManager) getTaintToleration() []v1.Toleration {
}
taintToleration = append(taintToleration, *toleration)
}

if len(taintToleration) == 0 {
return []v1.Toleration{{Operator: v1.TolerationOpExists}}
}
return taintToleration
}

Expand Down

0 comments on commit aa95566

Please sign in to comment.