Code review feedback.

Co-authored-by: Ashley Davis <SgtCoDFish@users.noreply.github.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
This commit is contained in:
Irbe Krumina 2021-08-19 09:41:57 +01:00 committed by irbekrm
parent 04b584e698
commit e43db8a426

View File

@ -74,7 +74,7 @@ yq=$(realpath "$4")
echo "Verifying that CRDs don't contain .status fields..."
for file in ${crdPath}/*.yaml; do
name=$($yq e '.metadata.name' $file)
echo "Verifying that the CRD for $name does not contain status field.."
echo "Verifying that the CRD for $name does not contain a status field"
# Exit 1 if status is non-null
$yq e --exit-status=1 '.status==null' $file
done