[VMware] Remove unnecessary logs on VM deployments (#6996)

This commit is contained in:
Nicolas Vazquez 2022-12-19 07:01:51 -03:00 committed by GitHub
parent 96aaeac2a0
commit 43b4525f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,8 +40,10 @@ public class NiciraNvpApiVersion {
return (compare < 0);
}
public static synchronized void logNiciraApiVersion(){
s_logger.info("NSX API VERSION: " + ((niciraApiVersion != null) ? niciraApiVersion : " NOT PRESENT"));
public static synchronized void logNiciraApiVersion() {
if (niciraApiVersion != null) {
s_logger.info(String.format("NSX API VERSION: %s", niciraApiVersion));
}
}
}