Skip to content

Commit

Permalink
fix:.status.pools have two items which are the same will panic (#1625)
Browse files Browse the repository at this point in the history
fix:.status.pools have two items which are the same will panic
  • Loading branch information
jiuker committed Jun 12, 2023
1 parent 885e331 commit 4b40f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/decomission.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (c *Controller) checkForPoolDecommission(ctx context.Context, key string, t
return nil, ErrMinIORestarting
}

return nil, nil
return tenant, nil
}
return tenant, err
}

0 comments on commit 4b40f2b

Please sign in to comment.