remove comment code

This commit is contained in:
Linh Vo 2017-04-06 16:20:08 -05:00
parent 37ffcd4ed9
commit b2db339741

View file

@ -373,17 +373,6 @@ func (p *postDBRequest) UnmarshalJSON(b []byte) error {
p.Options = DBOptions{ColumnLabel: value}
}
//if len(options) == 0 {
// p.Options = DBOptions{}
//} else {
// err := validateOptions(options, "columnLabel")
// if err != nil {
// return err
// } else {
// p.Options = DBOptions{ColumnLabel: options["columnLabel"].(string)}
// }
//}
default:
return fmt.Errorf("Unknown key: %v:%v", key, value)
}