Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbankar7 committed Jan 11, 2024
1 parent 5e59883 commit dc5f766
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/druid/drain_historical.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ func scaleStatefulSet(sdk client.Client, m *v1alpha1.Druid, nodeSpec *v1alpha1.D
}

func deployHistorical(sdk client.Client, m *v1alpha1.Druid, nodeSpec *v1alpha1.DruidNodeSpec, nodeSpecUniqueStr string, emitEvent EventEmitter, batchSize int32, baseUrl string) error {
if batchSize <= 0 {
return fmt.Errorf("Invalid BatchSize supplied: %s", batchSize)
}
// patch the updateStrategy with onDelete
err := patchUpdateStrategy(sdk, m, nodeSpec, onDelete, emitEvent)
if err != nil {
Expand Down

0 comments on commit dc5f766

Please sign in to comment.