Skip to content

Commit

Permalink
add revive disable tags to keep Go compliant deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Nov 2, 2021
1 parent c33a1fb commit 2be244f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api-remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ import (
"github.com/minio/minio-go/v7/pkg/s3utils"
)

// BucketOptions - deprecated: will be renamed to RemoveBucketOptions in future versions.
//revive:disable

// Deprecated: BucketOptions will be renamed to RemoveBucketOptions in future versions.
type BucketOptions = RemoveBucketOptions

//revive:enable

// RemoveBucketOptions special headers to purge buckets, only
// useful when endpoint is MinIO
type RemoveBucketOptions struct {
Expand Down

0 comments on commit 2be244f

Please sign in to comment.