Skip to content

Commit

Permalink
rove_connector: fix incorrect data_source name in errors
Browse files Browse the repository at this point in the history
  • Loading branch information
intarga committed Dec 6, 2024
1 parent 2d01b3f commit afe1e72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rove_connector/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,14 @@ impl DataConnector for Connector {
let param_id = match extra_spec {
Some(param_id_string) => param_id_string.parse().map_err(|_| {
data_switch::Error::InvalidExtraSpec {
data_source: "rove",
data_source: "lard",
extra_spec: extra_spec.map(String::from),
source: Box::new(Error::InvalidParamId),
}
})?,
None => {
return Err(data_switch::Error::InvalidExtraSpec {
data_source: "rove",
data_source: "lard",
extra_spec: extra_spec.map(String::from),
source: Box::new(Error::InvalidParamId),
})
Expand Down

0 comments on commit afe1e72

Please sign in to comment.