You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/07/21 01:38:08 UTC

[GitHub] [apisix] zhixiongdu027 commented on a diff in pull request #7506: fix: cleanup variable before re list and watch

zhixiongdu027 commented on code in PR #7506:
URL: https://github.com/apache/apisix/pull/7506#discussion_r926177829


##########
apisix/discovery/kubernetes/informer_factory.lua:
##########
@@ -263,6 +263,9 @@ local function list_watch(informer, apiserver)
     local reason, message
     local httpc = http.new()
 
+    informer.continue = ""
+    informer.version = ""

Review Comment:
   I've thought about it too, but it's difficult.
   Unless we are able to modify the value of "continue" at runtime in some way



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org