ls/cp/mirror: Ignore objects with StorageClass GLACIER. (#1742)

Fixes #1741
This commit is contained in:
Harshavardhana
2016-06-23 00:28:17 -07:00
committed by Anand Babu (AB) Periasamy
parent 17468c8863
commit 2d431dacbc
7 changed files with 43 additions and 3 deletions
+9
View File
@@ -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{}