This is an automated email from the ASF dual-hosted git repository. dahn pushed a commit to branch 4.19 in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.19 by this push: new e0731c50985 Fix the removal of network offering tags (#8758) e0731c50985 is described below commit e0731c50985b2f64fbc1be53fd08773ca140a5f1 Author: Bernardo De Marco Gonçalves <bernardomg2...@gmail.com> AuthorDate: Fri Mar 15 09:59:19 2024 -0300 Fix the removal of network offering tags (#8758) --- .../main/java/com/cloud/configuration/ConfigurationManagerImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java b/server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java index de5311be635..9fad027d6c8 100644 --- a/server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java +++ b/server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java @@ -7186,7 +7186,11 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati } } - offering.setTags(tags); + if (StringUtils.isBlank(tags)) { + offering.setTags(null); + } else { + offering.setTags(tags); + } } // Verify availability