cmssczy commented on issue #860:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/860#issuecomment-1042675567


   > This documentation is outdated. Probably written in version 0.5.
   
   `apisix-ingress-controller` process will also panic **occasionally** when I 
use the image build from master branch source code.
   
   ```
   panic: runtime error: index out of range [0] with length 0
   
   goroutine 98 [running]:
   
github.com/apache/apisix-ingress-controller/pkg/kube/translation.(*translator).translateHTTPRouteV2beta3NotStrictly(0xc0002061a8,
 0xc00001e180, 0xc00040c6e0, 0x160, 0x1bf5860)
        /build/pkg/kube/translation/apisix_route.go:949 +0xd34
   
github.com/apache/apisix-ingress-controller/pkg/kube/translation.(*translator).TranslateRouteV2beta3NotStrictly(0xc0002061a8,
 0xc00040c6e0, 0xc000350cc0, 0x0, 0x0)
        /build/pkg/kube/translation/apisix_route.go:314 +0x85
   
github.com/apache/apisix-ingress-controller/pkg/ingress.(*Controller).CompareResources.func1.1(0xc000521250,
 0xc0004ae2c0, 0x1fdad50, 0xc000350cc0, 0xc0006903f0, 0xc000690420, 
0xc000690450, 0xc000690480, 0xc0006904e0, 0xc0006904b0, ...)
        /build/pkg/ingress/compare.go:78 +0x67a
   created by 
github.com/apache/apisix-ingress-controller/pkg/ingress.(*Controller).CompareResources.func1
        /build/pkg/ingress/compare.go:68 +0x178
   ```


-- 
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]


Reply via email to