}
}
} catch (SchemaVersionMismatchException e) {
- LOG.warn("protocol not supported by this version of ovsdb", e);
+ // We don't care about the exception stack trace here
+ LOG.warn("protocol not supported by this version of ovsdb: {}", e.getMessage());
}
return result;
}
}
private NodeId getNodeId(Bridge bridge) {
- NodeKey nodeKey = getInstanceIdentifier(bridge).firstKeyOf(Node.class);
+ NodeKey nodeKey = getInstanceIdentifier(bridge).firstKeyOf(Node.class, NodeKey.class);
return nodeKey.getNodeId();
}
}