Skip to content

optimize: add probe for cluster status

Codecov / codecov/patch failed Dec 16, 2024 in 0s

0.00% of diff hit (target 60.00%)

View this Pull Request on Codecov

0.00% of diff hit (target 60.00%)

Annotations

Check warning on line 65 in pkg/controllers/federatedcluster/cluster_status_cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controllers/federatedcluster/cluster_status_cache.go#L49-L65

Added lines #L49 - L65 were not covered by tests

Check warning on line 84 in pkg/controllers/federatedcluster/cluster_status_cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controllers/federatedcluster/cluster_status_cache.go#L67-L84

Added lines #L67 - L84 were not covered by tests

Check warning on line 87 in pkg/controllers/federatedcluster/cluster_status_cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controllers/federatedcluster/cluster_status_cache.go#L86-L87

Added lines #L86 - L87 were not covered by tests

Check warning on line 90 in pkg/controllers/federatedcluster/cluster_status_cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controllers/federatedcluster/cluster_status_cache.go#L90

Added line #L90 was not covered by tests

Check warning on line 98 in pkg/controllers/federatedcluster/cluster_status_cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controllers/federatedcluster/cluster_status_cache.go#L93-L98

Added lines #L93 - L98 were not covered by tests

Check warning on line 102 in pkg/controllers/federatedcluster/cluster_status_cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controllers/federatedcluster/cluster_status_cache.go#L101-L102

Added lines #L101 - L102 were not covered by tests

Check warning on line 305 in pkg/controllers/federatedcluster/clusterstatus.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controllers/federatedcluster/clusterstatus.go#L302-L305

Added lines #L302 - L305 were not covered by tests

Check warning on line 127 in pkg/controllers/federatedcluster/controller.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/controllers/federatedcluster/controller.go#L124-L127

Added lines #L124 - L127 were not covered by tests