Skip to content

Commit e0731c5

Browse files
Fix the removal of network offering tags (apache#8758)
1 parent 0780f0e commit e0731c5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7186,7 +7186,11 @@ public NetworkOffering updateNetworkOffering(final UpdateNetworkOfferingCmd cmd)
71867186
}
71877187
}
71887188

7189-
offering.setTags(tags);
7189+
if (StringUtils.isBlank(tags)) {
7190+
offering.setTags(null);
7191+
} else {
7192+
offering.setTags(tags);
7193+
}
71907194
}
71917195

71927196
// Verify availability

0 commit comments

Comments
 (0)