summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-09 11:25:15 +0100
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-01-09 11:25:15 +0100
commit29cea9cf973f0e736fe3e416c086ce60f6f654a5 (patch)
tree6058b119bf4b7aa270f69d271765d31ef2f52890 /playbooks/common
parent1d5c152e7fd53d1aceefc13d7196c020d39f0e94 (diff)
downloadopenshift-29cea9cf973f0e736fe3e416c086ce60f6f654a5.tar.gz
openshift-29cea9cf973f0e736fe3e416c086ce60f6f654a5.tar.bz2
openshift-29cea9cf973f0e736fe3e416c086ce60f6f654a5.tar.xz
openshift-29cea9cf973f0e736fe3e416c086ce60f6f654a5.zip
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.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml b/playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml
index 44ddf97ad..17f8fc6e9 100644
--- a/playbooks/common/openshift-cluster/upgrades/docker/upgrade.yml
+++ b/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