Skip to content

Commit

Permalink
Fix stop
Browse files Browse the repository at this point in the history
Signed-off-by: shaoyue.chen <[email protected]>
  • Loading branch information
haorenfsa committed Feb 1, 2024
1 parent 729cf1a commit 4f5d1ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/controllers/query_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ func (c *QueryNodeControllerBizImpl) HandleScaling(ctx context.Context, mc v1bet
}

func (c *QueryNodeControllerBizImpl) HandleRolling(ctx context.Context, mc v1beta1.Milvus) error {
if mc.Spec.IsStopping() {
return nil
}
currentDeploy, lastDeploy, err := c.util.GetQueryNodeDeploys(ctx, mc)
if err != nil {
return errors.Wrap(err, "get querynode deploys")
Expand Down

0 comments on commit 4f5d1ec

Please sign in to comment.