Skip to content

Commit 0d7aa8d

Browse files
author
shuxu.li
committed
feat: Implement NoopAuthManager and integrate AuthManager into RestCatalog
1 parent 68e8081 commit 0d7aa8d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/iceberg/catalog/rest/rest_catalog.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@ RestCatalog::RestCatalog(std::unique_ptr<RestCatalogProperties> config,
178178
name_(config_->Get(RestCatalogProperties::kName)),
179179
supported_endpoints_(std::move(endpoints)),
180180
auth_manager_(std::move(auth_manager)),
181-
catalog_session_(std::move(catalog_session)) {}
181+
catalog_session_(std::move(catalog_session)) {
182+
ICEBERG_DCHECK(catalog_session_ != nullptr, "catalog_session must not be null");
183+
}
182184

183185
std::string_view RestCatalog::name() const { return name_; }
184186

0 commit comments

Comments
 (0)