Skip to content

Commit

Permalink
Merge pull request #70 from boschglobal/fix/databroker_cli/actuate
Browse files Browse the repository at this point in the history
Use set_target_values isntead of set_current_values
  • Loading branch information
rafaeling authored Sep 25, 2024
2 parents 7951c62 + 578f397 commit 248d2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databroker-cli/src/kuksa_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ pub async fn kuksa_main(_cli: Cli) -> Result<(), Box<dyn std::error::Error>> {
},
)]);

match client.set_current_values(datapoints).await {
match client.set_target_values(datapoints).await {
Ok(_) => cli::print_resp_ok(cmd)?,
Err(kuksa_common::ClientError::Status(status)) => {
cli::print_resp_err(cmd, &status)?
Expand Down

0 comments on commit 248d2a3

Please sign in to comment.