Skip to content

Commit

Permalink
fix: fail in validating HSM group user has access to
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Sopena Ballesteros committed Oct 28, 2024
1 parent 2c9738f commit 310a9de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cli/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1720,14 +1720,14 @@ pub async fn process_cli(
}
} else if let Some(cli_log) = cli_root.subcommand_matches("log") {
// Get all HSM groups the user has access
let target_hsm_group_vec = get_hsm_name_available_from_jwt_or_all(
/* let target_hsm_group_vec = get_hsm_name_available_from_jwt_or_all(
shasta_token,
shasta_base_url,
shasta_root_cert,
)
.await;
.await; */

/* let hsm_group_name_arg_opt = cli_log.try_get_one::<String>("cluster").unwrap_or(None);
let hsm_group_name_arg_opt = cli_log.try_get_one::<String>("cluster").unwrap_or(None);

let target_hsm_group_vec = get_target_hsm_group_vec_or_all(
shasta_token,
Expand All @@ -1736,7 +1736,7 @@ pub async fn process_cli(
hsm_group_name_arg_opt,
settings_hsm_group_name_opt,
)
.await; */
.await;

commands::log::exec(
// cli_log,
Expand Down

0 comments on commit 310a9de

Please sign in to comment.