rhtyd commented on a change in pull request #2694: Do not send conserve mode
param on L2 network offering creation from the UI
URL: https://github.com/apache/cloudstack/pull/2694#discussion_r193627527
##########
File path:
engine/storage/configdrive/src/org/apache/cloudstack/storage/configdrive/ConfigDriveBuilder.java
##########
@@ -286,7 +286,7 @@ private static void buildOpenStackMetaData(JsonObject
metaData, String dataType,
if (!NetworkModel.METATDATA_DIR.equals(dataType)) {
return;
}
- if (StringUtils.isNotBlank(content)) {
+ if (StringUtils.isEmpty(content)) {
Review comment:
This could be isBlank to return, but isEmpty is okay too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services