forked from TrueCloudLab/frostfs-node
[#265] node: Drop unused
Resolve unused linter. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
b447ff99aa
commit
a358255c1b
2 changed files with 0 additions and 17 deletions
|
@ -136,16 +136,6 @@ func (c *Client) readUInt64Config(key string) (uint64, error) {
|
|||
return uint64(v.(int64)), nil
|
||||
}
|
||||
|
||||
func (c *Client) readStringConfig(key string) (string, error) {
|
||||
v, err := c.config([]byte(key), StringAssert)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
// StringAssert is guaranteed to return string if the error is nil.
|
||||
return v.(string), nil
|
||||
}
|
||||
|
||||
// reads boolean value by the given key from the FrostFS network configuration
|
||||
// stored in the Sidechain. Returns false if key is not presented.
|
||||
func (c *Client) readBoolConfig(key string) (bool, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue