Skip to content

Commit

Permalink
Fix the removal of network offering tags (apache#8758)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardodemarco authored Mar 15, 2024
1 parent 0780f0e commit e0731c5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7186,7 +7186,11 @@ public NetworkOffering updateNetworkOffering(final UpdateNetworkOfferingCmd cmd)
}
}

offering.setTags(tags);
if (StringUtils.isBlank(tags)) {
offering.setTags(null);
} else {
offering.setTags(tags);
}
}

// Verify availability
Expand Down

0 comments on commit e0731c5

Please sign in to comment.