Merge pull request #10739 from vrothberg/fix-10682

create: support images with invalid platform
This commit is contained in:
OpenShift Merge Robot
2021-06-23 13:05:31 -04:00
committed by GitHub
21 changed files with 197 additions and 166 deletions

View File

@ -194,7 +194,7 @@ function _confirm_update() {
run_podman 125 auto-update
update_log=$output
is "$update_log" ".*invalid auto-update policy.*" "invalid policy setup"
is "$update_log" ".*1 error occurred.*" "invalid policy setup"
is "$update_log" ".*Error: invalid auto-update policy.*" "invalid policy setup"
local n_updated=$(grep -c 'Trying to pull' <<<"$update_log")
is "$n_updated" "2" "Number of images updated from registry."