frostfs-node/cmd/neofs-cli
Leonard Lyubich a3414b36dd [#958] cli/locode: Open RO database in info command
CLI `util locode info` command does not write operations. Opening a
`locodebolt.DB` instance in RW mode is redundant.

Provide `locodebolt.ReadOnly()` option to `locodebolt.DB` constructor in
order to create READ flock over BoltDB file.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-11-03 10:19:45 +03:00
..
modules [#958] cli/locode: Open RO database in info command 2021-11-03 10:19:45 +03:00
main.go cli: Add empty neofs-cli app structure 2020-10-02 11:25:35 +03:00