forked from TrueCloudLab/frostfs-node
[#504] morph/client: Add more global config value getters
Including: - typo fix for `StringFromStackItem` error msg - EigenTrust alpha getter. - renaming local var in reading uin64 values from global cfg function Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
dddbf0368c
commit
7319ca5a00
3 changed files with 40 additions and 3 deletions
|
@ -59,3 +59,7 @@ func (c *Client) Config(args ConfigArgs, assert func(stackitem.Item) (interface{
|
|||
func IntegerAssert(item stackitem.Item) (interface{}, error) {
|
||||
return client.IntFromStackItem(item)
|
||||
}
|
||||
|
||||
func StringAssert(item stackitem.Item) (interface{}, error) {
|
||||
return client.StringFromStackItem(item)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue