From d610205e6d8dbc00cd37f926afe285950b55ea47 Mon Sep 17 00:00:00 2001 From: Mustafa Gezen Date: Fri, 25 Aug 2023 18:48:20 +0200 Subject: [PATCH] Hot patch Pika to allow up to 1000 entries at a time --- scripts/govendor | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/govendor b/scripts/govendor index 9eeccd31..6d6aafab 100755 --- a/scripts/govendor +++ b/scripts/govendor @@ -19,6 +19,10 @@ fi # it's meant to be run with bazel but it only requires the workspace directory env BUILD_WORKSPACE_DIRECTORY="$(pwd)" bazel-bin/devtools/nfv2/nfv2_/nfv2 +# hot patch Pika because it has a stupid low limit for page size +# this is a hack and should be removed once we have a proper solution +sed -i .orig 's/100/1000/g' vendor/go.ciq.dev/pika/pika_page_token.go + bazel run //:gazelle # we don't care about the local repository warnings from updating the deps.bzl file # obviously ignoring all errors is stupid, but the warnings are too noisy