nspcc-dev / neofs-dev-env

NeoFS local Development and Testing environment
https://fs.neo.org
GNU General Public License v3.0
9 stars 25 forks source link

Use stable approach to seek YAML fields in `bin/update_hosts.sh` script #302

Open cthulhu-rider opened 10 months ago

cthulhu-rider commented 10 months ago

_* originally posted in https://github.com/nspcc-dev/neofs-dev-env/pull/282#discussion_r1431840847_

currently, script uses grep to seek YAML fields. Fields may have the same names in different YAML sections, so current approach may be unstable. Another approach dealing with full path should be used instead