diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-13 19:29:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 19:29:16 +0000 |
commit | 5c3eec55895c9ca4c36571e1e919f0cb8632bedb (patch) | |
tree | 711c52400d7bfa70c053cfde9a63d013d3e08bcd /test/apiv2/test-apiv2 | |
parent | 5f8d08d593d625beaa224c48e7da945c4f90ea48 (diff) | |
parent | e08a77ce64eec5cd0192ae1970fa859c00440174 (diff) | |
download | podman-5c3eec55895c9ca4c36571e1e919f0cb8632bedb.tar.gz podman-5c3eec55895c9ca4c36571e1e919f0cb8632bedb.tar.bz2 podman-5c3eec55895c9ca4c36571e1e919f0cb8632bedb.zip |
Merge pull request #14772 from nicrowe00/12475
Add "podman kube play" cmd
Diffstat (limited to 'test/apiv2/test-apiv2')
-rwxr-xr-x | test/apiv2/test-apiv2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/apiv2/test-apiv2 b/test/apiv2/test-apiv2 index 0fd282854..0c3c6e672 100755 --- a/test/apiv2/test-apiv2 +++ b/test/apiv2/test-apiv2 @@ -252,7 +252,7 @@ function t() { fi # POST and PUT requests may be followed by one or more key=value pairs. # Slurp the command line until we see a 3-digit status code. - if [[ $method = "POST" || $method == "PUT" ]]; then + if [[ $method = "POST" || $method == "PUT" || $method = "DELETE" ]]; then local -a post_args for arg; do case "$arg" in @@ -261,6 +261,8 @@ function t() { *.tar) curl_args+=(--data-binary @$arg); content_type="application/x-tar"; shift;; + *.yaml) curl_args+=(--data-binary @$arg); + shift;; application/*) content_type="$arg"; shift;; [1-9][0-9][0-9]) break;; |