diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-04-19 07:00:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-19 07:00:50 +0000 |
commit | 1b162638763115959a0960a1195618f571d5499b (patch) | |
tree | 0ee9c135c22363c0a5873a8503f7bd4f36a55b33 /kubernetes/config/prepull_docker.sh | |
parent | 67c2cb1569edc9aac89aab271433f1f6357062dd (diff) | |
parent | 785bc3875ee2c3a45caf6ba2244d5e3b6e6b36b1 (diff) |
Merge "[COMMON] Fix function declarations bashisms"
Diffstat (limited to 'kubernetes/config/prepull_docker.sh')
-rwxr-xr-x | kubernetes/config/prepull_docker.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/config/prepull_docker.sh b/kubernetes/config/prepull_docker.sh index ef46334197..040adec23d 100755 --- 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> -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|" \ |