Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "[COMMON] Fix condition equality bashisms"
[oom.git]
/
kubernetes
/
config
/
prepull_docker.sh
diff --git
a/kubernetes/config/prepull_docker.sh
b/kubernetes/config/prepull_docker.sh
index
ef46334
..
040adec
100755
(executable)
--- a/
kubernetes/config/prepull_docker.sh
+++ b/
kubernetes/config/prepull_docker.sh
@@
-26,7
+26,7
@@
EOF
#argument: yaml file
#calling syntax: parse_yaml <yaml_file_name>
#argument: yaml file
#calling syntax: parse_yaml <yaml_file_name>
-
function parse_yaml
{
+
parse_yaml ()
{
local prefix=$2
local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034')
sed -ne "s|^\($s\):|\1|" \
local prefix=$2
local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034')
sed -ne "s|^\($s\):|\1|" \