other/bucket/wbucket.go
Method GBucket.New_Bucket
has 7 return statements (exceeds 4 allowed). Open
Open
func (c *GBucket) New_Bucket(o *proto.Object) *proto.IObject {
// ensure data validation
if strings.Contains(o.Name, " ") {
return &proto.IObject{Iobject: &proto.Object{}, Istatus: proto.Object_Status_ERROR}