Browse Source

Remove spurious argument

The script nuke_images.sh was introduced in
0c31d72be3bf32f848eedad9859a81ba858f8c8f and seems that the shell
argument $1 was never used (the only $1 in the script back then refers
to a field in a awk script).
There was a reference to $2 that was always undefined/empty.

The script was then simplified in
b89c835e3235f2628b37de15713c311d1b5a4bad, removing any reference to $1
and $2.

This commit cleans up the only call site to the shell script.
Rodolfo Carvalho 8 years ago
parent
commit
29cea9cf97
1 changed files with 1 additions and 1 deletions
  1. 1 1
      playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml

+ 1 - 1
playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml

@@ -20,7 +20,7 @@
 - debug: var=docker_image_count.stdout
 
 - name: Remove all containers and images
-  script: nuke_images.sh docker
+  script: nuke_images.sh
   register: nuke_images_result
   when: docker_upgrade_nuke_images is defined and docker_upgrade_nuke_images | bool