Skip to content

Commit

Permalink
MInor check correction
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebusm committed Nov 14, 2024
1 parent aaa2899 commit f579b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/arcticdb/storage/python_bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void register_bindings(py::module& storage, py::exception<arcticdb::ArcticExcept
return py::make_tuple(settings.aws_auth(), settings.aws_profile());
},
[](py::tuple t) {
util::raise_rte(t.size() != 2, "Invalid S3Settings pickle objects");
util::check(t.size() != 2, "Invalid S3Settings pickle objects");
s3::S3Settings settings(t[static_cast<uint32_t>(S3SettingsPickleOrder::AWS_AUTH)].cast<s3::AWSAuthMethod>(), t[static_cast<uint32_t>(S3SettingsPickleOrder::AWS_PROFILE)].cast<std::string>());
return settings;
}
Expand Down

0 comments on commit f579b47

Please sign in to comment.