You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2023/04/26 15:29:30 UTC

[accumulo] branch 2.1 updated: Fix positional argument in format string (#3345)

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/2.1 by this push:
     new 3a2f60ef87 Fix positional argument in format string (#3345)
3a2f60ef87 is described below

commit 3a2f60ef8705ee2c1af876fcfb337312ad0dd7a9
Author: EdColeman <de...@etcoleman.com>
AuthorDate: Wed Apr 26 11:29:22 2023 -0400

    Fix positional argument in format string (#3345)
    
    Co-authored-by: Ed Coleman <ed...@apache.org>
---
 .../main/java/org/apache/accumulo/manager/upgrade/Upgrader9to10.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/manager/src/main/java/org/apache/accumulo/manager/upgrade/Upgrader9to10.java b/server/manager/src/main/java/org/apache/accumulo/manager/upgrade/Upgrader9to10.java
index 7156e0005e..54c3775110 100644
--- a/server/manager/src/main/java/org/apache/accumulo/manager/upgrade/Upgrader9to10.java
+++ b/server/manager/src/main/java/org/apache/accumulo/manager/upgrade/Upgrader9to10.java
@@ -820,7 +820,7 @@ public class Upgrader9to10 implements Upgrader {
     // A relative path file of the form "/tableId/tabletDir/file" will have depth == 3
     Preconditions.checkState(
         oldDelete.startsWith("/") && (pathToCheck.depth() == 2 || pathToCheck.depth() == 3),
-        "Unrecognized relative delete marker {}", oldDelete);
+        "Unrecognized relative delete marker (%s)", oldDelete);
 
     // found relative paths so verify the property used to build the absolute paths
     if (upgradeProperty == null || upgradeProperty.isBlank()) {