Skip to content

node/object: Refactor code making request forwarding

Codecov / codecov/patch failed Jan 10, 2025 in 1s

0.53% of diff hit (target 22.14%)

View this Pull Request on Codecov

0.53% of diff hit (target 22.14%)

Annotations

Check warning on line 29 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L28-L29

Added lines #L28 - L29 were not covered by tests

Check warning on line 32 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L32

Added line #L32 was not covered by tests

Check warning on line 34 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L34

Added line #L34 was not covered by tests

Check warning on line 36 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L36

Added line #L36 was not covered by tests

Check warning on line 40 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L38-L40

Added lines #L38 - L40 were not covered by tests

Check warning on line 42 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L42

Added line #L42 was not covered by tests

Check warning on line 52 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L50-L52

Added lines #L50 - L52 were not covered by tests

Check warning on line 58 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L55-L58

Added lines #L55 - L58 were not covered by tests

Check warning on line 61 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L61

Added line #L61 was not covered by tests

Check warning on line 65 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L64-L65

Added lines #L64 - L65 were not covered by tests

Check warning on line 68 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L68

Added line #L68 was not covered by tests

Check warning on line 74 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L74

Added line #L74 was not covered by tests

Check warning on line 80 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L78-L80

Added lines #L78 - L80 were not covered by tests

Check warning on line 83 in cmd/neofs-node/transport.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/transport.go#L83

Added line #L83 was not covered by tests

Check warning on line 70 in pkg/network/cache/multi.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/cache/multi.go#L64-L70

Added lines #L64 - L70 were not covered by tests

Check warning on line 106 in pkg/network/cache/multi.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/cache/multi.go#L106

Added line #L106 was not covered by tests

Check warning on line 347 in pkg/network/cache/multi.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/cache/multi.go#L347

Added line #L347 was not covered by tests

Check warning on line 369 in pkg/network/cache/multi.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/cache/multi.go#L369

Added line #L369 was not covered by tests

Check warning on line 110 in pkg/services/object/get/v2/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/object/get/v2/util.go#L106-L110

Added lines #L106 - L110 were not covered by tests

Check warning on line 124 in pkg/services/object/get/v2/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/object/get/v2/util.go#L124

Added line #L124 was not covered by tests

Check warning on line 146 in pkg/services/object/get/v2/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/object/get/v2/util.go#L144-L146

Added lines #L144 - L146 were not covered by tests

Check warning on line 148 in pkg/services/object/get/v2/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/object/get/v2/util.go#L148

Added line #L148 was not covered by tests

Check warning on line 159 in pkg/services/object/get/v2/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/object/get/v2/util.go#L159

Added line #L159 was not covered by tests

Check warning on line 168 in pkg/services/object/get/v2/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/object/get/v2/util.go#L166-L168

Added lines #L166 - L168 were not covered by tests

Check warning on line 178 in pkg/services/object/get/v2/util.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/object/get/v2/util.go#L170-L178

Added lines #L170 - L178 were not covered by tests