summaryrefslogtreecommitdiffstats
path: root/kubernetes/config/prepull_docker.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/config/prepull_docker.sh')
-rwxr-xr-xkubernetes/config/prepull_docker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/config/prepull_docker.sh b/kubernetes/config/prepull_docker.sh
index 590d651f87..efd0bd14d3 100755
--- a/kubernetes/config/prepull_docker.sh
+++ b/kubernetes/config/prepull_docker.sh
@@ -102,7 +102,7 @@ do
for line in `parse_yaml $filename`
do
#skiping commented line
- if [ "${line:0:1}" != '#' ]; then
+ if echo "$line" | grep -v '^#' >/dev/null; then
#find all image subtag inside converted values.yaml file's lines
if echo $line | grep -q $IMAGE_TEXT ; then
#find imageName inside line