mirror of
https://github.com/minio/minio.git
synced 2026-11-22 15:13:48 +00:00
Go vet fixes for donut
This commit is contained in:
1 parent
57a2b53178
commit
03b4d3b308
6 files changed
+19
-18
No files matched your search
@@ -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