node/placement: use predefined error for empty netmap #2916
3.63% of diff hit (target 23.51%)
View this Pull Request on Codecov
3.63% of diff hit (target 23.51%)
Annotations
Check warning on line 16 in cmd/neofs-cli/internal/common/eacl.go
codecov / codecov/patch
cmd/neofs-cli/internal/common/eacl.go#L16
Added line #L16 was not covered by tests
Check warning on line 28 in cmd/neofs-cli/internal/common/eacl.go
codecov / codecov/patch
cmd/neofs-cli/internal/common/eacl.go#L27-L28
Added lines #L27 - L28 were not covered by tests
Check warning on line 35 in cmd/neofs-cli/internal/common/eacl.go
codecov / codecov/patch
cmd/neofs-cli/internal/common/eacl.go#L34-L35
Added lines #L34 - L35 were not covered by tests
Check warning on line 42 in cmd/neofs-cli/internal/common/eacl.go
codecov / codecov/patch
cmd/neofs-cli/internal/common/eacl.go#L42
Added line #L42 was not covered by tests
Check warning on line 45 in cmd/neofs-cli/internal/common/eacl.go
codecov / codecov/patch
cmd/neofs-cli/internal/common/eacl.go#L45
Added line #L45 was not covered by tests
Check warning on line 92 in cmd/neofs-cli/modules/acl/extended/create.go
codecov / codecov/patch
cmd/neofs-cli/modules/acl/extended/create.go#L91-L92
Added lines #L91 - L92 were not covered by tests
Check warning on line 115 in cmd/neofs-cli/modules/bearer/create.go
codecov / codecov/patch
cmd/neofs-cli/modules/bearer/create.go#L113-L115
Added lines #L113 - L115 were not covered by tests
Check warning on line 89 in cmd/neofs-cli/modules/container/set_eacl.go
codecov / codecov/patch
cmd/neofs-cli/modules/container/set_eacl.go#L89
Added line #L89 was not covered by tests
Check warning on line 213 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L212-L213
Added lines #L212 - L213 were not covered by tests
Check warning on line 229 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L229
Added line #L229 was not covered by tests
Check warning on line 233 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L232-L233
Added lines #L232 - L233 were not covered by tests
Check warning on line 236 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L235-L236
Added lines #L235 - L236 were not covered by tests
Check warning on line 239 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L239
Added line #L239 was not covered by tests
Check warning on line 246 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L244-L246
Added lines #L244 - L246 were not covered by tests
Check warning on line 254 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L254
Added line #L254 was not covered by tests
Check warning on line 259 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L259
Added line #L259 was not covered by tests
Check warning on line 267 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L267
Added line #L267 was not covered by tests
Check warning on line 271 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L271
Added line #L271 was not covered by tests
Check warning on line 275 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L275
Added line #L275 was not covered by tests
Check warning on line 280 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L280
Added line #L280 was not covered by tests
Check warning on line 282 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L282
Added line #L282 was not covered by tests
Check warning on line 286 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L285-L286
Added lines #L285 - L286 were not covered by tests
Check warning on line 291 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L289-L291
Added lines #L289 - L291 were not covered by tests
Check warning on line 299 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L299
Added line #L299 was not covered by tests
Check warning on line 304 in cmd/neofs-cli/modules/util/acl.go
codecov / codecov/patch
cmd/neofs-cli/modules/util/acl.go#L304
Added line #L304 was not covered by tests