This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new 128daf2ca1 [MINOR] Fix placeholders error (#7571)
128daf2ca1 is described below
commit 128daf2ca11d2bdd76efa0cccc9d0dffaa5749ab
Author: BIN <[email protected]>
AuthorDate: Fri Jul 4 19:06:29 2025 +0800
[MINOR] Fix placeholders error (#7571)
<!--
1. Title: [#<issue>] <type>(<scope>): <subject>
Examples:
- "[#123] feat(operator): support xxx"
- "[#233] fix: check null before access result in xxx"
- "[MINOR] refactor: fix typo in variable name"
- "[MINOR] docs: fix typo in README"
- "[#255] test: fix flaky test NameOfTheTest"
Reference: https://www.conventionalcommits.org/en/v1.0.0/
2. If the PR is unfinished, please mark this PR as draft.
-->
### What changes were proposed in this pull request?
Fix placeholders error.
### Why are the changes needed?
Just a minor.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Code review.
Co-authored-by: senlizishi <[email protected]>
---
.../org/apache/gravitino/iceberg/service/CatalogWrapperForREST.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/CatalogWrapperForREST.java
b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/CatalogWrapperForREST.java
index 9fcf71393e..e3d6542f0c 100644
---
a/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/CatalogWrapperForREST.java
+++
b/iceberg/iceberg-rest-server/src/main/java/org/apache/gravitino/iceberg/service/CatalogWrapperForREST.java
@@ -164,7 +164,7 @@ public class CatalogWrapperForREST extends
IcebergCatalogWrapper {
}
if (StringUtils.isNotBlank(deprecatedValue)) {
- LOG.warn("%s is deprecated, please use %s instead.", deprecatedProperty,
newProperty);
+ LOG.warn("{} is deprecated, please use {} instead.", deprecatedProperty,
newProperty);
properties.remove(deprecatedProperty);
properties.put(newProperty, deprecatedValue);
}