Skip to content

Commit 72b5ecd

Browse files
committed
Fix: fix xargs missing value
1 parent a4fd025 commit 72b5ecd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build/e2e-image/e2e.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ if [ "$K8S_MINOR" = "33" ]; then
3131

3232
kubectl get svc -n agones-system -o json \
3333
| jq -r '.items[] | select(.metadata.finalizers | length > 0) | .metadata.name' \
34-
| awk 'NF' \
35-
| xargs -r -I {} kubectl patch svc -n agones-system -p '{"metadata":{"finalizers":null}}' --type=merge
34+
| xargs -r -I {} kubectl patch svc {} -n agones-system -p '{"metadata":{"finalizers":null}}' --type=merge
3635
fi
3736

3837
echo "installing current release"

0 commit comments

Comments
 (0)