diff options
author | Juraj Linkeš <juraj.linkes@pantheon.tech> | 2021-11-12 14:34:52 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2022-01-19 12:08:34 +0000 |
commit | 9744be3170135285c6d7017134e5ae70e75d9afb (patch) | |
tree | 3c10e82c11f4e5a02a8df9a58d7b8c6ce0f2cc30 /resources/libraries/bash/k8s_setup.sh | |
parent | 54c9554e142d26447163f7ab7539e23d49d2f866 (diff) |
fix(vpp_device): pci address existence condition
The function get_pci_addr could check a different PCI_ADDR in case the
netdev device directory doesn't exit. Move the check so that it always
uses the proper PCI_ADDR and add a failure case when the netdev device
directory doesn't exist.
Change-Id: Ibadfea3fba34509cd3ea8f906ac5962c0f01dd17
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Diffstat (limited to 'resources/libraries/bash/k8s_setup.sh')
0 files changed, 0 insertions, 0 deletions