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 issue 4375 #4405

Merged
merged 2 commits into from
Oct 28, 2020
Merged

fix issue 4375 #4405

merged 2 commits into from
Oct 28, 2020

Conversation

vaikas
Copy link
Contributor

@vaikas vaikas commented Oct 27, 2020

Signed-off-by: Ville Aikas vaikas@vmware.com

Fixes #4375

Proposed Changes

  • Reconcile changes to delivery specs properly.

Release Note

- 🐛 Fix bug
Fix issue #4375 where we would not reconcile changes to reconcile policy or duration.

Docs

Signed-off-by: Ville Aikas <vaikas@vmware.com>
@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Oct 27, 2020
@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 27, 2020
@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 27, 2020
@slinkydeveloper
Copy link
Contributor

/assign

@slinkydeveloper
Copy link
Contributor

/lgtm
/approve

Thanks for this one!

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 28, 2020
@slinkydeveloper
Copy link
Contributor

Sounds like you need to update fanout_message_handler_test.go too:

     fanout_message_handler_test.go:87: Unexpected diff   &fanout.Subscription{
          	Subscriber: &{Scheme: "http", Host: "subscriber.example.com"},
          	Reply:      &{Scheme: "http", Host: "reply.example.com"},
          	DeadLetter: &{Scheme: "http", Host: "dls.example.com"},
          	RetryConfig: &kncloudevents.RetryConfig{
          		RetryMax:      3,
        - 		BackoffDelay:  nil,
        + 		BackoffDelay:  &"PT1S",
        - 		BackoffPolicy: nil,
        + 		BackoffPolicy: &"linear",
          		... // 2 ignored fields
          	},
          } 

Signed-off-by: Ville Aikas <vaikas@vmware.com>
@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Oct 28, 2020
@codecov
Copy link

codecov bot commented Oct 28, 2020

Codecov Report

Merging #4405 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4405      +/-   ##
==========================================
+ Coverage   81.06%   81.10%   +0.03%     
==========================================
  Files         281      281              
  Lines        7964     7963       -1     
==========================================
+ Hits         6456     6458       +2     
+ Misses       1122     1119       -3     
  Partials      386      386              
Impacted Files Coverage Δ
...iler/inmemorychannel/dispatcher/inmemorychannel.go 92.68% <ø> (ø)
pkg/kncloudevents/message_sender.go 64.28% <100.00%> (+1.32%) ⬆️
pkg/reconciler/source/config_watcher.go 60.46% <0.00%> (+2.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a80806a...3d1facf. Read the comment docs.

@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-eventing-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/kncloudevents/message_sender.go 63.9% 65.8% 1.9

@slinkydeveloper
Copy link
Contributor

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 28, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: slinkydeveloper, vaikas

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [slinkydeveloper,vaikas]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot merged commit 41dd697 into knative:master Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating channel delivery options diff logic needs work
4 participants