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
This commit is contained in:
Wei Zhou 2025-02-13 09:12:05 +01:00 committed by GitHub
parent 8c4a085a16
commit 42a77c7646
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 // 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 // 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() if (rd.getProps().keySet().stream()
.filter(key -> key.startsWith("Aux/" + LinstorUtil.CS_TEMPLATE_FOR_PREFIX)) .filter(key -> key.startsWith("Aux/" + LinstorUtil.CS_TEMPLATE_FOR_PREFIX))
.count() == expectedProps) { .count() == expectedProps) {