Skip to content

Commit

Permalink
add more correctness for deprecation notices
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Dec 18, 2024
1 parent d907160 commit 609c460
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ type Options struct {
}

// New - instantiate minio admin client
//
// Deprecated: please use NewWithOptions
func New(endpoint string, accessKeyID, secretAccessKey string, secure bool) (*AdminClient, error) {
creds := credentials.NewStaticV4(accessKeyID, secretAccessKey, "")
Expand Down

0 comments on commit 609c460

Please sign in to comment.