Skip to content

Commit 5eba3d9

Browse files
author
prachi
committed
Removing whitespace from tags while storing the Host tags.
1 parent f56c3d7 commit 5eba3d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/host/dao/HostTagsDaoImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void persist(long hostId, List<String> hostTags) {
6363
expunge(sc);
6464

6565
for (String tag : hostTags) {
66-
tag.trim();
66+
tag = tag.trim();
6767
if(tag.length() > 0) {
6868
HostTagVO vo = new HostTagVO(hostId, tag);
6969
persist(vo);

0 commit comments

Comments
 (0)