mirror of https://github.com/apache/cloudstack.git
Minor changes to string format command
This commit is contained in:
parent
ec472fcaaa
commit
59e93d9f29
|
|
@ -136,7 +136,7 @@ public class OvsTunnelManagerImpl implements OvsTunnelManager {
|
|||
private String handleFetchInterfaceAnswer(Answer[] answers, Long hostId){
|
||||
OvsFetchInterfaceAnswer ans = (OvsFetchInterfaceAnswer) answers[0];
|
||||
String s = String.format(
|
||||
"(ip:%1$s, netmask:%2$s, mac:%3$s, label:%4s, host:%5l)",
|
||||
"(ip:%1$s, netmask:%2$s, mac:%3$s, label:%4$s, host:%5$d)",
|
||||
ans.getIp(), ans.getNetmask(), ans.getMac(), ans.getLabel(), hostId);
|
||||
s_logger.debug("### About to add DB entry for:" + s);
|
||||
OvsTunnelInterfaceVO ti = createInterfaceRecord(ans.getIp(), ans.getNetmask(), ans.getMac(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue