Compare commits

...

1 Commits

Author SHA1 Message Date
2bfa6c4e3e doc: fix example code to use ignore instead of no_run
Some checks failed
Run Check Script / check (pull_request) Failing after 1m59s
-  fails because  cannot be used at module level
- Use  to skip doc compilation while keeping example visible
2026-03-07 17:28:04 -05:00

View File

@@ -44,11 +44,11 @@ pub struct OKDLoadBalancerScore {
///
/// # Example
///
/// ```no_run
/// use crate::topology::HAClusterTopology;
/// ```ignore
/// use harmony::topology::HAClusterTopology;
/// use harmony::modules::okd::OKDLoadBalancerScore;
///
/// let topology: HAClusterTopology = /* get topology */;
/// let topology: HAClusterTopology = /* get topology from your infrastructure */;
/// let score = OKDLoadBalancerScore::new(&topology);
/// ```
impl OKDLoadBalancerScore {