Skip to content

fix: delete Exist method because it is not needed

Codecov / codecov/patch failed Dec 5, 2023 in 1s

15.35% of diff hit (target 30.43%)

View this Pull Request on Codecov

15.35% of diff hit (target 30.43%)

Annotations

Check warning on line 90 in internal/circuitbreaker/manager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/circuitbreaker/manager.go#L89-L90

Added lines #L89 - L90 were not covered by tests

Check warning on line 71 in internal/config/mirror.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/config/mirror.go#L51-L71

Added lines #L51 - L71 were not covered by tests

Check warning on line 166 in internal/k8s/reconciler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/k8s/reconciler.go#L165-L166

Added lines #L165 - L166 were not covered by tests

Check warning on line 68 in internal/net/grpc/interceptor/server/metric/metric.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/net/grpc/interceptor/server/metric/metric.go#L68

Added line #L68 was not covered by tests

Check warning on line 29 in internal/net/grpc/metadata.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/net/grpc/metadata.go#L28-L29

Added lines #L28 - L29 were not covered by tests

Check warning on line 33 in internal/net/grpc/metadata.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/net/grpc/metadata.go#L32-L33

Added lines #L32 - L33 were not covered by tests

Check warning on line 36 in pkg/gateway/mirror/handler/grpc/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/handler/grpc/option.go#L35-L36

Added lines #L35 - L36 were not covered by tests

Check warning on line 48 in pkg/gateway/mirror/handler/grpc/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/handler/grpc/option.go#L45-L48

Added lines #L45 - L48 were not covered by tests

Check warning on line 58 in pkg/gateway/mirror/handler/grpc/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/handler/grpc/option.go#L55-L58

Added lines #L55 - L58 were not covered by tests

Check warning on line 67 in pkg/gateway/mirror/handler/grpc/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/handler/grpc/option.go#L62-L67

Added lines #L62 - L67 were not covered by tests

Check warning on line 76 in pkg/gateway/mirror/handler/grpc/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/handler/grpc/option.go#L71-L76

Added lines #L71 - L76 were not covered by tests

Check warning on line 85 in pkg/gateway/mirror/handler/grpc/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/handler/grpc/option.go#L82-L85

Added lines #L82 - L85 were not covered by tests

Check warning on line 94 in pkg/gateway/mirror/handler/grpc/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/handler/grpc/option.go#L91-L94

Added lines #L91 - L94 were not covered by tests

Check warning on line 104 in pkg/gateway/mirror/handler/grpc/option.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/handler/grpc/option.go#L98-L104

Added lines #L98 - L104 were not covered by tests

Check warning on line 74 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L64-L74

Added lines #L64 - L74 were not covered by tests

Check warning on line 90 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L77-L90

Added lines #L77 - L90 were not covered by tests

Check warning on line 101 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L92-L101

Added lines #L92 - L101 were not covered by tests

Check warning on line 128 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L106-L128

Added lines #L106 - L128 were not covered by tests

Check warning on line 136 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L131-L136

Added lines #L131 - L136 were not covered by tests

Check warning on line 142 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L142

Added line #L142 was not covered by tests

Check warning on line 149 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L145-L149

Added lines #L145 - L149 were not covered by tests

Check warning on line 190 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L169-L190

Added lines #L169 - L190 were not covered by tests

Check warning on line 203 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L194-L203

Added lines #L194 - L203 were not covered by tests

Check warning on line 214 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L206-L214

Added lines #L206 - L214 were not covered by tests

Check warning on line 221 in pkg/gateway/mirror/service/discovery.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/gateway/mirror/service/discovery.go#L216-L221

Added lines #L216 - L221 were not covered by tests