Skip to content

cli: Use `MarkFlagsOneRequired` for mutex but required flags

Codecov / codecov/patch succeeded Mar 5, 2024 in 1s

22.22% of diff hit (target 22.03%)

View this Pull Request on Codecov

22.22% of diff hit (target 22.03%)

Annotations

Check warning on line 58 in cmd/neofs-cli/modules/bearer/create.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/bearer/create.go#L58

Added line #L58 was not covered by tests

Check warning on line 57 in cmd/neofs-cli/modules/control/evacuate_shard.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/evacuate_shard.go#L57

Added line #L57 was not covered by tests

Check warning on line 53 in cmd/neofs-cli/modules/control/flush_cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/flush_cache.go#L53

Added line #L53 was not covered by tests

Check warning on line 100 in cmd/neofs-cli/modules/control/shards_set_mode.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/control/shards_set_mode.go#L100

Added line #L100 was not covered by tests

Check warning on line 109 in cmd/neofs-cli/modules/object/lock.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/object/lock.go#L109

Added line #L109 was not covered by tests

Check warning on line 59 in cmd/neofs-cli/modules/session/create.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/session/create.go#L59

Added line #L59 was not covered by tests

Check warning on line 48 in cmd/neofs-cli/modules/storagegroup/put.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-cli/modules/storagegroup/put.go#L48

Added line #L48 was not covered by tests