sureshanaparti commented on code in PR #8377:
URL: https://github.com/apache/cloudstack/pull/8377#discussion_r1431361004
##########
plugins/storage/volume/storpool/src/main/java/org/apache/cloudstack/storage/datastore/util/StorPoolUtil.java:
##########
@@ -517,6 +517,12 @@ public static SpApiResponse volumeUpdate(final String
name, final Long newSize,
return POST("MultiCluster/VolumeUpdate/" + name, json, conn);
}
+ public static SpApiResponse volumeUpadateTags(String name, Map<String,
String> tags, SpConnectionDesc conn) {
+ Map<String, Object> json = new HashMap<>();
+ json.put("tags", tags);
+ return POST("MultiCluster/VolumeUpdate/" + name, json, conn);
+ }
+
public static SpApiResponse volumeUpdateTags(final String name, final
String uuid, Long iops,
Review Comment:
```suggestion
public static SpApiResponse volumeUpdateIopsAndTags(final String name,
final String uuid, Long iops,
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]