ls/cp/mirror: Ignore objects with StorageClass GLACIER. (#1742)
Fixes #1741
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
17468c8863
commit
2d431dacbc
@@ -74,6 +74,15 @@ func (e ObjectAlreadyExists) Error() string {
|
||||
return "Object ‘" + e.Object + "’ already exists."
|
||||
}
|
||||
|
||||
// ObjectOnGlacier - object is of storage class glacier.
|
||||
type ObjectOnGlacier struct {
|
||||
Object string
|
||||
}
|
||||
|
||||
func (e ObjectOnGlacier) Error() string {
|
||||
return "Object ‘" + e.Object + "’ is on Glacier storage."
|
||||
}
|
||||
|
||||
// BucketNameTopLevel - generic error
|
||||
type BucketNameTopLevel struct{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user