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
c60d11b2ba
commit
ce34d895e5
|
@ -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