mirror of https://github.com/apache/cloudstack.git
Return hostName as displayName in the listvms api resonse, just the way it was before 41df47cc6873b4d8acd0503b16535051a3cbde14)
Reviewed-by: Kelven Yang
This commit is contained in:
parent
9da81f3c6d
commit
2b312931a8
|
|
@ -1239,6 +1239,8 @@ public class ApiResponseHelper implements ResponseGenerator {
|
|||
|
||||
if (userVm.getDisplayName() != null) {
|
||||
userVmResponse.setDisplayName(userVm.getDisplayName());
|
||||
} else {
|
||||
userVmResponse.setDisplayName(userVm.getHostName());
|
||||
}
|
||||
|
||||
if (userVm.getPassword() != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue