mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +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>
This commit is contained in:
parent
cc72de4b1c
commit
e47738fa75
@ -42,7 +42,7 @@ usage() {
|
|||||||
echo " " >&2
|
echo " " >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_deployment_status() {
|
check_deployment_status() {
|
||||||
LABEL=$1
|
LABEL=$1
|
||||||
NAMESPACE=$2
|
NAMESPACE=$2
|
||||||
echo "Checking Deployment status for label $LABEL in Namespace $NAMESPACE"
|
echo "Checking Deployment status for label $LABEL in Namespace $NAMESPACE"
|
||||||
@ -66,7 +66,7 @@ function check_deployment_status() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_daemonset_status() {
|
check_daemonset_status() {
|
||||||
LABEL=$1
|
LABEL=$1
|
||||||
NAMESPACE=$2
|
NAMESPACE=$2
|
||||||
echo "Checking Daemonset status for label $LABEL in Namespace $NAMESPACE"
|
echo "Checking Daemonset status for label $LABEL in Namespace $NAMESPACE"
|
||||||
|
Loading…
Reference in New Issue
Block a user