Skip to content

Commit

Permalink
[#19] error message cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
trel authored and korydraughn committed Jan 25, 2024
1 parent 1c767a4 commit da14e89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,18 +278,18 @@ nlohmann::json load_configuration(const std::string_view _config_path, unsigned
<< "Consider setting up the static_authentication_plugin, add a section like" << std::endl
<< R"("static_authentication_resolver": {)"
R"(""name": "static_authentication_resolver",)"
R"(""users": {"<The s3 username>": {"username": "<The iRODS username>","secret_key": "<your favorite secret key>"}})"
R"(""users": {"<the s3 username>": {"username": "<the iRODS username>","secret_key": "<your favorite secret key>"}})"
"}"
<< std::endl
<< "to the 'plugins' object in your config.json" << std::endl;
}
if (!irods::s3::plugins::bucket_plugin_loaded()) {
std::cout << "No bucket resolution plugin is specified or loaded" << std::endl
<< "Consider setting up the static_authentication_plugin, add a section like" << std::endl
<< "Consider setting up the static_bucket_plugin, add a section like" << std::endl
<< R"("static_bucket_resolver": {)"
R"("name": "static_bucket_resolver",)"
R"("mappings": {)"
R"(<Your Bucket's name>": "<The root of your bucket in irods>")"
R"(<your bucket's name>": "<the root of your bucket in iRODS>")"
"}"
<< std::endl
<< "to the 'plugins' object in your config.json" << std::endl;
Expand Down

0 comments on commit da14e89

Please sign in to comment.