fix/355-increase-tree-service-client-cache-size #359

Closed
ale64bit wants to merge 156 commits from ale64bit/frostfs-node:fix/355-increase-tree-service-client-cache-size into support/v0.36
Showing only changes of commit d02950ad63 - Show all commits

View file

@ -402,9 +402,8 @@ func (c *initializeContext) readContracts(names []string) error {
var r io.ReadCloser
if c.ContractPath == "" {
return errors.New("contracts flag is missing")
} else {
r, err = os.Open(c.ContractPath)
}
r, err = os.Open(c.ContractPath)
if err != nil {
return fmt.Errorf("can't open contracts archive: %w", err)
}