This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a commit to branch 4.20
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.20 by this push:
new 42a77c76461 LinstorStorageAdaptor: fix lint error (#10378)
42a77c76461 is described below
commit 42a77c764613c98f1174bb36df714cd24c029a02
Author: Wei Zhou <[email protected]>
AuthorDate: Thu Feb 13 09:12:05 2025 +0100
LinstorStorageAdaptor: fix lint error (#10378)
This is found in some PRs
plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java:510:
poperties ==> properties
---
.../java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
b/plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
index ab8e5f4ee7b..ba4a7b14787 100644
---
a/plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
+++
b/plugins/storage/volume/linstor/src/main/java/com/cloud/hypervisor/kvm/storage/LinstorStorageAdaptor.java
@@ -507,7 +507,7 @@ public class LinstorStorageAdaptor implements
StorageAdaptor {
// if there is only one template-for property left for templates,
the template isn't needed anymore
// or if it isn't a template anyway, it will not have this Aux
property
- // _cs-template-for- poperties work like a ref-count.
+ // _cs-template-for- properties work like a ref-count.
if (rd.getProps().keySet().stream()
.filter(key -> key.startsWith("Aux/" +
LinstorUtil.CS_TEMPLATE_FOR_PREFIX))
.count() == expectedProps) {