Skip to content

Commit 4ee8d94

Browse files
committed
docs(linstor): clarify findResourceDefinition fallback comment
One-word refinement — 'first-match selection' -> 'first-match fallback' to align with the local 'fallback' variable name and the surrounding prose. No behavioural change. Force-triggers a fresh CI run on this PR to clear the stale 2026-05-09 component-build failure that's been keeping mergeStateStatus at UNSTABLE.
1 parent eff9b09 commit 4ee8d94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/util

plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/util/LinstorUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ public static ResourceDefinition findResourceDefinition(DevelopersApi api, Strin
498498
// This happens when (a) the matched resource is a legacy template created before that
499499
// convention was introduced, or (b) the template was cached by a different resource
500500
// group and the operator hopes to share it. Log so the ambiguity is visible — silent
501-
// first-match selection has previously routed clones to the wrong template when
501+
// first-match fallback has previously routed clones to the wrong template when
502502
// multiple resource groups coexisted on the same controller.
503503
ResourceDefinition fallback = rdsStartingWith.get(0);
504504
LOGGER.warn("LINSTOR findResourceDefinition: no resource for '{}' has the expected " +

0 commit comments

Comments
 (0)