Skip to content

Commit

Permalink
[irods#7877] Adjust error message in resource administration library.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn authored and alanking committed Jul 10, 2024
1 parent 97dad6a commit 4be6734
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,9 @@ namespace irods::experimental::administration
}

if (const auto ec = rxGeneralAdmin(&_comm, &input); ec < 0) {
constexpr char* msg = "Could not change {} from [{}] to [{}] for resource [{}]";
constexpr char* msg = "Could not change {} to [{}] for resource [{}]";
// NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-array-to-pointer-decay)
THROW(ec, fmt::format(msg, to_string<Property>(), input.arg3, input.arg4, _name));
THROW(ec, fmt::format(msg, to_string<Property>(), input.arg4, _name));
}
} // modify_resource

Expand Down

0 comments on commit 4be6734

Please sign in to comment.