mirror of
https://github.com/pgsty/minio.git
synced 2026-08-07 00:01:15 +03:00
Go vet fixes for donut
This commit is contained in:
@@ -32,8 +32,8 @@ type object struct {
|
||||
donutObjectMetadata map[string]string
|
||||
}
|
||||
|
||||
// NewObject - instantiate a new object
|
||||
func NewObject(objectName, p string) (object, error) {
|
||||
// newObject - instantiate a new object
|
||||
func newObject(objectName, p string) (object, error) {
|
||||
if objectName == "" {
|
||||
return object{}, iodine.New(InvalidArgument{}, nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user