TT#168102 check: Pass --network-file to network.yml validators

These commands require the network.yml to be passed as an argument
to the --network-file option.

Change-Id: I3b1eb78eb1f810a1ea03a09576f8e1b90443953b
(cherry picked from commit 7554d5e98f)
mr10.5.3
Guillem Jover 3 years ago committed by Marco Capetta
parent d7be98ed72
commit e37f377a14

@ -164,11 +164,11 @@ validate_config() {
name="$(basename "${f}")"
if [ "$name" = 'network.yml' ]; then
if ! ngcp-network-validator "$f"; then
if ! ngcp-network-validator --network-file="$f"; then
log_error "Invalid schema detected for ${f}"
rc=1
fi
if ! ngcp-instances-validator "$f"; then
if ! ngcp-instances-validator --network-file="$f"; then
log_error "Invalid schema detected for instances connections"
rc=1
fi

Loading…
Cancel
Save