Skip to content

Commit

Permalink
squash. clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Feb 22, 2024
1 parent 1a5db05 commit f5ab547
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion libirods_rule_engine_plugin-elasticsearch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ namespace
irods::at_scope_exit free_obj_input{[&obj_input] { clearKeyVal(&obj_input.condInput); }};

obj_input.dataSize = -1;
obj_input.openFlags = O_RDONLY;
obj_input.openFlags = O_RDONLY;

_object_path.copy(obj_input.objPath, sizeof(obj_input.objPath) - 1);

Expand Down
8 changes: 4 additions & 4 deletions libirods_rule_engine_plugin-indexing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -892,10 +892,10 @@ namespace
if (!irods::is_privileged_client(*rei->rsComm)) {
const auto& user = rei->rsComm->clientUser;
const auto msg = fmt::format("{}: User [{}#{}] must be a rodsadmin to execute indexing operation [{}].",
__func__,
user.userName,
user.rodsZone,
op);
__func__,
user.userName,
user.rodsZone,
op);
log_re::error(msg);
return ERROR(CAT_INSUFFICIENT_PRIVILEGE_LEVEL, std::move(msg));
}
Expand Down

0 comments on commit f5ab547

Please sign in to comment.