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

chore(knative): do not change spec during processing #314

Merged
merged 3 commits into from
Jan 4, 2019

Conversation

nicolaferraro
Copy link
Member

This handles state changes completely in the status field in order to avoid changing the spec fields during processing. Changing spec should be avoided because in case the Integration is owned by a upper-level controller, the reconciliation process of the other controller is triggered resulting in conflicts.

"github.com/mitchellh/mapstructure"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"strings"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is going to hurt golintci

@nicolaferraro nicolaferraro merged commit 692c4f1 into apache:master Jan 4, 2019
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.

3 participants