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

Use non-caching client in builds scheduling critical section #631

Merged
merged 1 commit into from
Apr 24, 2019
Merged

Use non-caching client in builds scheduling critical section #631

merged 1 commit into from
Apr 24, 2019

Conversation

astefanutti
Copy link
Member

No description provided.

// Non-caching client to be used whenever caching may cause race conditions,
// like in the builds scheduling critical section.
// To be replaced with Manager.GetAPIReader() as soon as it's available, see:
// https://github.com/kubernetes-sigs/controller-runtime/pull/327
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can add TODO so we will find this in the future and remember to fix/do this when that k8s is released and we are basing on such k8s version

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good idea. I've just re-pushed it with a TODO.

@nicolaferraro nicolaferraro merged commit a71debb into apache:master Apr 24, 2019
@astefanutti astefanutti deleted the pr-31 branch April 24, 2019 15:46
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.

None yet

3 participants