This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-0.9 by this push:
new 6cc212539f [MINOR] Fix placeholders error (#7574)
6cc212539f is described below
commit 6cc212539fae2197fa587e6c8e1cba6da36ef54e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jul 4 21:06:07 2025 +0800
[MINOR] Fix placeholders error (#7574)
<!--
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: BIN <[email protected]>
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 3c86629b52..54d31a36ce 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);
}