From 4be67343c9d985cc609f094952f891d6eacc244a Mon Sep 17 00:00:00 2001 From: Kory Draughn Date: Tue, 9 Jul 2024 17:39:35 -0400 Subject: [PATCH] [#7877] Adjust error message in resource administration library. --- .../resource/include/irods/resource_administration.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/administration/resource/include/irods/resource_administration.hpp b/lib/administration/resource/include/irods/resource_administration.hpp index 734b73683d..b980ff2968 100644 --- a/lib/administration/resource/include/irods/resource_administration.hpp +++ b/lib/administration/resource/include/irods/resource_administration.hpp @@ -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(), input.arg3, input.arg4, _name)); + THROW(ec, fmt::format(msg, to_string(), input.arg4, _name)); } } // modify_resource