zlhgo opened a new issue #912:
URL: https://github.com/apache/apisix-ingress-controller/issues/912
### Issue description
ApisixRoute update event arrived, new object and old object are empty in log.
```
{"level":"debug","time":"2022-03-09T14:19:23.622142136+08:00","caller":"ingress/apisix_route.go:378","message":"ApisixRoute
update event arrived","new object":{},"old object":{}}
```
Inconsistent data types will cause elasticsearch write failures
### Environment
- your apisix-ingress-controller version (output of
apisix-ingress-controller version --long):
Version: master branch
Git SHA: 1159522
Go Version: go1.17.2
Building OS/Arch: linux/amd64
Running OS/Arch: linux/amd64
- your Kubernetes cluster version (output of kubectl version):
- if you run apisix-ingress-controller in Bare-metal environment, also show
your OS version (uname -a):
### Minimal test code / Steps to reproduce
maybe the apisixRoute fields are not exported?
```
type apisixRoute struct {
groupVersion string
v2beta1 *configv2beta1.ApisixRoute
v2beta2 *configv2beta2.ApisixRoute
v2beta3 *configv2beta3.ApisixRoute
}
```
### Actual result
#
### Error log
#
### Expected result
_No response_
--
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]