forked from TrueCloudLab/frostfs-node
[#1680] cli/netmap: Print MaintenanceModeAllowed
config
After recent changes network configuration provided by NeoFS storage nodes contains `MaintenanceModeAllowed` flag. There is a need to support this value in NeoFS CLI application. Print `MaintenanceModeAllowed` flag in `netmap netinfo` command. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
7a3a827d35
commit
876e132d22
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ var netInfoCmd = &cobra.Command{
|
||||||
cmd.Printf(format, "Maximum object size", netInfo.MaxObjectSize())
|
cmd.Printf(format, "Maximum object size", netInfo.MaxObjectSize())
|
||||||
cmd.Printf(format, "Withdrawal fee", netInfo.WithdrawalFee())
|
cmd.Printf(format, "Withdrawal fee", netInfo.WithdrawalFee())
|
||||||
cmd.Printf(format, "Homomorphic hashing disabled", netInfo.HomomorphicHashingDisabled())
|
cmd.Printf(format, "Homomorphic hashing disabled", netInfo.HomomorphicHashingDisabled())
|
||||||
|
cmd.Printf(format, "Maintenance mode allowed", netInfo.MaintenanceModeAllowed())
|
||||||
|
|
||||||
cmd.Println("NeoFS network configuration (other)")
|
cmd.Println("NeoFS network configuration (other)")
|
||||||
netInfo.IterateRawNetworkParameters(func(name string, value []byte) {
|
netInfo.IterateRawNetworkParameters(func(name string, value []byte) {
|
||||||
|
|
Loading…
Reference in a new issue