Commit 5295344f authored by Eric Chiang's avatar Eric Chiang

db: fixed missing return statement GetConnectorByID

Added missing err return introduced by #199
parent 521aeae3
......@@ -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()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment