Skip to content

Commit

Permalink
cli: Use appropriate reason when initiating update in pullAndInstall
Browse files Browse the repository at this point in the history
This affects aklite CLI pull, install, and update commands.

Signed-off-by: Andre Detsch <[email protected]>
  • Loading branch information
detsch committed Sep 3, 2024
1 parent 13e5321 commit b8cba30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/cli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ static StatusCode pullAndInstall(AkliteClientExt &client, int version, const std
LOG_WARNING << "Downgrading from " << current.Version() << " to " << gti_res.selected_target.Version() << "...";
}

auto pi_res = client.PullAndInstall(gti_res.selected_target, "", "", install_mode, local_update_source,
auto pi_res = client.PullAndInstall(gti_res.selected_target, gti_res.reason, "", install_mode, local_update_source,
pull_mode == PullMode::All, do_install);
return res2StatusCode<InstallResult::Status>(i2s, pi_res.status);
}
Expand Down

0 comments on commit b8cba30

Please sign in to comment.