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:
parent
ee730c8c79
commit
b1df7df0e0
|
@ -70,7 +70,7 @@ public class ReorderPackagesCommandAction extends TCCommandAction {
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getCommand(String operation){
|
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);
|
operation, network, delay, ratio * 100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue