DaanHoogland commented on a change in pull request #5215:
URL: https://github.com/apache/cloudstack/pull/5215#discussion_r690969374



##########
File path: server/src/main/java/com/cloud/vm/UserVmManagerImpl.java
##########
@@ -4113,11 +4110,11 @@ public UserVmVO doInTransaction(TransactionStatus 
status) throws InsufficientCap
                     vm.details.putAll(details);
                 }
 
-                if (sshPublicKey != null) {
+                if (sshPublicKey != "") {

Review comment:
       isEmpty() or isBlank() kind of condition, maybe?




-- 
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]


Reply via email to