We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
lock()
k8slock/locker.go
Lines 187 to 192 in 6f294b1
Here, the code checks if lease.Spec.LeaseTransitions is nil but the if-else branches are identical.
lease.Spec.LeaseTransitions
nil
pointer.Int32((*lease.Spec.LeaseTransitions) + 1)
will segfault with a nil lease.Spec.LeaseTransitions
The text was updated successfully, but these errors were encountered:
No branches or pull requests
k8slock/locker.go
Lines 187 to 192 in 6f294b1
Here, the code checks if
lease.Spec.LeaseTransitions
isnil
but the if-else branches are identical.will segfault with a
nil
lease.Spec.LeaseTransitions
The text was updated successfully, but these errors were encountered: