-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13540 from mheon/fix_11822
Deduplicate between Volumes and Mounts in compat API
- Loading branch information
Showing
6 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# -*- bash -*- | ||
|
||
podman container inspect ipam_set_ip_test_1 --format '{{ .NetworkSettings.Networks.ipam_set_ip_net1.IPAddress }}' | ||
ctr_name="ipam_set_ip_test_1" | ||
if [ "$TEST_FLAVOR" = "compose_v2" ]; then | ||
ctr_name="ipam_set_ip-test-1" | ||
fi | ||
podman container inspect "$ctr_name" --format '{{ .NetworkSettings.Networks.ipam_set_ip_net1.IPAddress }}' | ||
like "$output" "10.123.0.253" "$testname : ip address is set" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# -*- bash -*- | ||
|
||
podman container inspect two_networks_con1_1 --format '{{len .NetworkSettings.Networks}}' | ||
ctr_name="two_networks_con1_1" | ||
if [ "$TEST_FLAVOR" = "compose_v2" ]; then | ||
ctr_name="two_networks-con1-1" | ||
fi | ||
podman container inspect "$ctr_name" --format '{{len .NetworkSettings.Networks}}' | ||
is "$output" "2" "$testname : Container is connected to both networks" | ||
podman container inspect two_networks_con1_1 --format '{{.NetworkSettings.Networks}}' | ||
podman container inspect "$ctr_name" --format '{{.NetworkSettings.Networks}}' | ||
like "$output" "two_networks_net1" "$testname : First network name exists" | ||
like "$output" "two_networks_net2" "$testname : Second network name exists" |