mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 18:32:28 +02:00
Fix wrong format String
Change-Id: I16bbb8953203ebb8092db3e12906d116b7009335
This commit is contained in:
parent
c84897036e
commit
bacea91117
@ -404,7 +404,7 @@ public class IntentsListCommand extends AbstractShellCommand {
|
||||
builder.append(String.format(" ingress=%s, egress=%s", pi.ingressPoint(), pi.egressPoints()));
|
||||
} else if (intent instanceof PathIntent) {
|
||||
PathIntent pi = (PathIntent) intent;
|
||||
builder.append(String.format(" path=%s, cost=%d", pi.path().links(), pi.path().cost()));
|
||||
builder.append(String.format(" path=%s, cost=%f", pi.path().links(), pi.path().cost()));
|
||||
} else if (intent instanceof LinkCollectionIntent) {
|
||||
LinkCollectionIntent li = (LinkCollectionIntent) intent;
|
||||
builder.append(String.format(" links=%s", li.links()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user