We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96aaeac commit 43b4525Copy full SHA for 43b4525
utils/src/main/java/com/cloud/utils/nicira/nvp/plugin/NiciraNvpApiVersion.java
@@ -40,8 +40,10 @@ public static synchronized boolean isApiVersionLowerThan(String apiVersion){
40
return (compare < 0);
41
}
42
43
- public static synchronized void logNiciraApiVersion(){
44
- s_logger.info("NSX API VERSION: " + ((niciraApiVersion != null) ? niciraApiVersion : " NOT PRESENT"));
+ public static synchronized void logNiciraApiVersion() {
+ if (niciraApiVersion != null) {
45
+ s_logger.info(String.format("NSX API VERSION: %s", niciraApiVersion));
46
+ }
47
48
49
0 commit comments