Skip to content

Commit d328d0a

Browse files
fix: use /v1/config endpoint for catalog config (#481)
1 parent 80f7408 commit d328d0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/iceberg/catalog/rest/resource_paths.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Status ResourcePaths::SetBaseUri(const std::string& base_uri) {
4747
}
4848

4949
Result<std::string> ResourcePaths::Config() const {
50-
return std::format("{}/v1/{}config", base_uri_, prefix_);
50+
return std::format("{}/v1/config", base_uri_);
5151
}
5252

5353
Result<std::string> ResourcePaths::OAuth2Tokens() const {

src/iceberg/catalog/rest/resource_paths.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class ICEBERG_REST_EXPORT ResourcePaths {
4747
/// \brief Set the base URI of the REST catalog server.
4848
Status SetBaseUri(const std::string& base_uri);
4949

50-
/// \brief Get the /v1/{prefix}/config endpoint path.
50+
/// \brief Get the /v1/config endpoint path.
5151
Result<std::string> Config() const;
5252

5353
/// \brief Get the /v1/{prefix}/oauth/tokens endpoint path.

0 commit comments

Comments
 (0)