mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
helm: remove function keyword
Getting rid of function keyword for two reasons:
1. Defining a function without 'function' keyword is more
portable as it is compatible with Bourne/Korn/POSIX scripts
2. To ensure the coding style is same for the file.
Signed-off-by: Yug <yuggupta27@gmail.com>
(cherry picked from commit e47738fa75
)
This commit is contained in:
parent
ad5eb89243
commit
d8d46575a1
@ -42,7 +42,7 @@ usage() {
|
||||
echo " " >&2
|
||||
}
|
||||
|
||||
function check_deployment_status() {
|
||||
check_deployment_status() {
|
||||
LABEL=$1
|
||||
NAMESPACE=$2
|
||||
echo "Checking Deployment status for label $LABEL in Namespace $NAMESPACE"
|
||||
@ -66,7 +66,7 @@ function check_deployment_status() {
|
||||
fi
|
||||
}
|
||||
|
||||
function check_daemonset_status() {
|
||||
check_daemonset_status() {
|
||||
LABEL=$1
|
||||
NAMESPACE=$2
|
||||
echo "Checking Daemonset status for label $LABEL in Namespace $NAMESPACE"
|
||||
|
Loading…
Reference in New Issue
Block a user