mirror of
https://github.com/minio/minio.git
synced 2025-11-29 21:33:31 -05:00
fix: remove all unused code (#12360)
This commit is contained in:
@@ -65,7 +65,7 @@ func getNewUUID() (string, error) {
|
||||
|
||||
// validateID - checks if ID is valid or not.
|
||||
func (r Rule) validateID() error {
|
||||
IDLen := len(string(r.ID))
|
||||
IDLen := len(r.ID)
|
||||
// generate new ID when not provided
|
||||
// cannot be longer than 255 characters
|
||||
if IDLen == 0 {
|
||||
|
||||
Reference in New Issue
Block a user