hanqingwu commented on code in PR #2920:
URL: https://github.com/apache/apisix-dashboard/pull/2920#discussion_r1474148137
##########
api/internal/core/store/store.go:
##########
@@ -109,12 +110,20 @@ func ReInit() error {
return err
}
}
+
+ //clear storeNeedReInit
+ storeNeedReInit = storeNeedReInit[:0]
Review Comment:
but if return err , it can't reach code
`storeNeedReInit = append(storeNeedReInit, s) `
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]