DaanHoogland commented on code in PR #6839:
URL: https://github.com/apache/cloudstack/pull/6839#discussion_r1001499713
##########
engine/components-api/src/main/java/com/cloud/vm/VirtualMachineProfileImpl.java:
##########
@@ -86,7 +86,10 @@ public VirtualMachineProfileImpl(VirtualMachine.Type type) {
@Override
public String toString() {
- return _vm.toString();
+ if (_vm != null) {
+ return _vm.toString();
+ }
+ return null;
Review Comment:
```suggestion
return "";
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]