mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-01 17:52:40 +00:00
ci: no-exit: Document and echo what the check is
Make it clearer why we run the check. Make it announce itself. Signed-off-by: Graham Whaley <graham.whaley@intel.com>
This commit is contained in:
parent
ff7b4f6ed7
commit
1c453a372e
@ -2,9 +2,14 @@
|
||||
# Copyright (c) 2018 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# Check there are no os.Exit() calls creeping into the code
|
||||
# We don't use that exit path in the Kata codebase.
|
||||
|
||||
go_packages=.
|
||||
|
||||
echo "Checking for no os.Exit() calls for package [${go_packages}]"
|
||||
|
||||
candidates=`go list -f '{{.Dir}}/*.go' $go_packages`
|
||||
for f in $candidates; do
|
||||
filename=`basename $f`
|
||||
|
Loading…
Reference in New Issue
Block a user