HBASE-23085 Network and Data related Actions; ADDENDUM (#871)

Fix percentage in String.format

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Peter Somogyi 2019-11-23 05:08:47 +01:00 committed by Sean Busbey
parent ee730c8c79
commit b1df7df0e0
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class ReorderPackagesCommandAction extends TCCommandAction {
}
private String getCommand(String operation){
return String.format("tc qdisc %s dev %s root netem delay %sms reorder %s%% 50%",
return String.format("tc qdisc %s dev %s root netem delay %sms reorder %s%% 50%%",
operation, network, delay, ratio * 100);
}
}