mirror of https://github.com/kubernetes/kops.git
Merge pull request #6811 from xichengliudui/delete-function-script-keyword
Delete the function keyword to prevent shellcheck from failing
This commit is contained in:
commit
5340fc2799
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
WORK_DIR=`mktemp -d`
|
||||
|
||||
function cleanup {
|
||||
cleanup() {
|
||||
rm -rf "$WORK_DIR"
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
WORK_DIR=`mktemp -d`
|
||||
|
||||
function cleanup {
|
||||
cleanup() {
|
||||
rm -rf "$WORK_DIR"
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
|
|
|||
Loading…
Reference in New Issue