diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-01-02 16:14:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 16:14:49 +0200 |
commit | de1fa852c38b8eff22cf0c1a34abd13379c0705c (patch) | |
tree | 0a6140f5b0133580edfc34cf5a50531e98a6e975 /smoketest/scripts/cli/test_container.py | |
parent | a3ab7f00d5714973bb8f75ab84c1023371c77ee2 (diff) | |
parent | b672b435eef2e47a7a730b34cbfb923230fd5251 (diff) | |
download | vyos-1x-de1fa852c38b8eff22cf0c1a34abd13379c0705c.tar.gz vyos-1x-de1fa852c38b8eff22cf0c1a34abd13379c0705c.zip |
Merge pull request #1734 from c-po/equuleus
smoketest: container: T578: adjust to podman 3.0.1 JSON output
Diffstat (limited to 'smoketest/scripts/cli/test_container.py')
-rwxr-xr-x | smoketest/scripts/cli/test_container.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_container.py b/smoketest/scripts/cli/test_container.py index 902156ee6..49978151c 100755 --- a/smoketest/scripts/cli/test_container.py +++ b/smoketest/scripts/cli/test_container.py @@ -102,7 +102,7 @@ class TestContainer(VyOSUnitTestSHIM.TestCase): self.cli_commit() n = cmd_to_json(f'sudo podman network inspect {net_name}') - json_subnet = n['subnets'][0]['subnet'] + json_subnet = n['plugins'][0]['ipam']['ranges'][0][0]['subnet'] c = cmd_to_json(f'sudo podman container inspect {cont_name}') json_ip = c['NetworkSettings']['Networks'][net_name]['IPAddress'] |