Go vet fixes for donut

This commit is contained in:
Harshavardhana
2015-06-24 21:00:28 -07:00
parent 57a2b53178
commit 03b4d3b308
6 changed files with 19 additions and 18 deletions
+2 -2
View File
@@ -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)
}