[#308] Remove downloadContractsFromGithub from the frostfs-adm

Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
Alejandro Lopez 2023-05-04 11:00:45 +03:00
parent 5f1af84587
commit d1661ae7dc
5 changed files with 5 additions and 51 deletions

View file

@ -401,8 +401,7 @@ func (c *initializeContext) readContracts(names []string) error {
} else {
var r io.ReadCloser
if c.ContractPath == "" {
c.Command.Println("Contracts flag is missing, latest release will be fetched from Github.")
r, err = downloadContractsFromGithub(c.Command)
return errors.New("contracts flag is missing")
} else {
r, err = os.Open(c.ContractPath)
}