Merge pull request #206 from ericchiang/connector_config_db_fix

db: fixed missing return statement GetConnectorByID
This commit is contained in:
Eric Chiang 2015-12-07 21:03:34 -08:00
commit cec3cd4451

View file

@ -101,6 +101,7 @@ func (r *ConnectorConfigRepo) GetConnectorByID(tx repo.Transaction, id string) (
if err == sql.ErrNoRows {
return nil, connector.ErrorNotFound
}
return nil, err
}
return c.ConnectorConfig()
}