Merge pull request #6811 from xichengliudui/delete-function-script-keyword

Delete the function keyword to prevent shellcheck from failing
This commit is contained in:
Kubernetes Prow Robot 2019-07-18 20:09:10 -07:00 committed by GitHub
commit 5340fc2799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
WORK_DIR=`mktemp -d`
function cleanup {
cleanup() {
rm -rf "$WORK_DIR"
}
trap cleanup EXIT

View File

@ -20,7 +20,7 @@
WORK_DIR=`mktemp -d`
function cleanup {
cleanup() {
rm -rf "$WORK_DIR"
}
trap cleanup EXIT