Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix runtime.TypeAssertionError issue when delete resources #95

Merged
merged 2 commits into from
Dec 8, 2016
Merged

Fix runtime.TypeAssertionError issue when delete resources #95

merged 2 commits into from
Dec 8, 2016

Conversation

tangle329
Copy link
Contributor

This issue occurred when I deleted 200 ingresses use a shell script.
The log shows:
Recovered from panic: &runtime.TypeAssertionError{interfaceString:"interface {}", concreteString:"cache.DeletedFinalStateUnknown", assertedString:"*extensions.Ingress", missingMethod:""}

This should be the same issue as prometheus/prometheus#2180.

Signed-off-by: Tang Le [email protected]

@pleshakov
Copy link
Contributor

@tangle329 thx!

The similar issue Recovered from panic: &runtime.TypeAssertionError{interfaceString:"interface {}", concreteString:"cache.DeletedFinalStateUnknown", assertedString:"*api.Service", missingMethod:""} (interface conversion: interface {} is cache.DeletedFinalStateUnknown, not *api.Service) still sometimes occur when removing services: I was able to reproduce it by constantly adding/removing coffee and tea services.

@pleshakov pleshakov merged commit 3b33eb1 into nginx:master Dec 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants