Skip to content

Commit

Permalink
fix array iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreKircher committed Mar 27, 2015
1 parent 37d8f0e commit 2ee82a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/coreos/user-data.example
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ write_files:
#!/bin/bash

COMPONENTS=(builder cache controller database logger logspout publisher registry router store-daemon store-gateway store-metadata store-monitor store-volume)

for c in $COMPONENTS; do
for c in "${COMPONENTS[@]}"; do
image=`/run/deis/bin/get_image /deis/$c`
docker history $image >/dev/null 2>&1 || docker pull $image
done
Expand Down

0 comments on commit 2ee82a8

Please sign in to comment.