mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
chore: use errors.New to replace fmt.Errorf with no parameters (#19568)
Signed-off-by: ChengenH <hce19970702@gmail.com>
This commit is contained in:
@@ -558,7 +558,7 @@ func loadTierConfig(ctx context.Context, objAPI ObjectLayer) (*TierConfigMgr, er
|
||||
}
|
||||
|
||||
if len(data) <= 4 {
|
||||
return nil, fmt.Errorf("tierConfigInit: no data")
|
||||
return nil, errors.New("tierConfigInit: no data")
|
||||
}
|
||||
|
||||
// Read header
|
||||
|
||||
Reference in New Issue
Block a user