We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 230412d commit ccce3e9Copy full SHA for ccce3e9
server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
@@ -778,7 +778,7 @@ protected void runInContext() {
778
Answer answer = _agentMgr.send(hostId, cmd);
779
if (answer.getResult()) {
780
String vmIp = answer.getDetails();
781
- if (null == vmIp) {
+ if (vmIp == null) {
782
// we got a valid response and the NIC does not have an IP assigned, as such we will update the database with null
783
if (nic.getIPv4Address() != null) {
784
nic.setIPv4Address(null);
0 commit comments