-
Notifications
You must be signed in to change notification settings - Fork 39
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
Diff sometimes errors out with the message "both left and right were nil for diff" #225
Comments
@sherman-grewal something easy to start with |
I can't seem to reproduce this error, would you happen to have any ideas on how I can reproduce it? This is what I've done so far (in an attempt to reproduce the error).
if ob.GetName() == "demo-deploy" {
cmd := exec.Command("./test.sh")
err := cmd.Run()
if err != nil {
return err
}
}
#!/bin/bash
kubectl delete deployments/demo-deploy
I thought by deleting the deployment object between the time it is LIST-ed versus the time it is GET-ted would reproduce the issue, but it does not seem to be the case. Let me know if I am missing something! |
kubectl delete deploy probably doesn't wait for the deployment object to be removed - the pod has to go away first etc. Try sleeping for 30s or smth after running the delete |
use |
Race condition where an object is deleted between the time it is LIST-ed versus the time it is GET-ted
The text was updated successfully, but these errors were encountered: