mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
fix: Add support for preserving mtime for replication (#9995)
This PR is needed for bucket replication support
This commit is contained in:
@@ -175,6 +175,17 @@ type GenericError struct {
|
||||
Bucket string
|
||||
Object string
|
||||
VersionID string
|
||||
Err error
|
||||
}
|
||||
|
||||
// InvalidArgument incorrect input argument
|
||||
type InvalidArgument GenericError
|
||||
|
||||
func (e InvalidArgument) Error() string {
|
||||
if e.Err != nil {
|
||||
return "Invalid arguments provided for " + e.Bucket + "/" + e.Object + ": (" + e.Err.Error() + ")"
|
||||
}
|
||||
return "Invalid arguments provided for " + e.Bucket + "/" + e.Object
|
||||
}
|
||||
|
||||
// BucketNotFound bucket does not exist.
|
||||
|
||||
Reference in New Issue
Block a user