forked from TrueCloudLab/frostfs-node
[#308] Remove downloadContractsFromGithub from the frostfs-adm
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful
All checks were successful
ci/woodpecker/push/pre-commit Pipeline was successful
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
parent
5f1af84587
commit
d1661ae7dc
5 changed files with 5 additions and 51 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue