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

Rename CopyMethod None to CopyMethod Direct #99

Merged

Conversation

tesshuflower
Copy link
Contributor

Signed-off-by: Tesshu Flower tflower@redhat.com

Describe what this PR does
Renames CopyMethod: None to CopyMethod: Direct. None will still work, but Direct has been added and will be the recommended name.

Is there anything that requires special attention?

Related issues:
#8

Copy link
Member

@JohnStrunk JohnStrunk left a comment

Choose a reason for hiding this comment

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

Nice! Thanks.

Expect(inst.Status.NextSyncTime).NotTo(BeNil())
})
// Test both None and Direct (results should be the same)
for i := range directCopyMethodTypes {
Copy link
Member

Choose a reason for hiding this comment

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

🤩

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 27, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnStrunk, tesshuflower

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 [JohnStrunk,tesshuflower]

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

@JohnStrunk
Copy link
Member

@tesshuflower Now that #98 is merged, I think this will pass if you rebase it.

Signed-off-by: Tesshu Flower <tflower@redhat.com>
@codecov
Copy link

codecov bot commented Oct 28, 2021

Codecov Report

Merging #99 (f4d62c5) into main (dda3ba0) will decrease coverage by 0.2%.
The diff coverage is 46.1%.

@@           Coverage Diff           @@
##            main     #99     +/-   ##
=======================================
- Coverage   75.4%   75.2%   -0.3%     
=======================================
  Files         16      16             
  Lines       2044    2051      +7     
=======================================
+ Hits        1542    1543      +1     
- Misses       398     401      +3     
- Partials     104     107      +3     
Impacted Files Coverage Δ
controllers/volumehandler/volumehandler.go 70.6% <33.3%> (-0.5%) ⬇️
controllers/volumehandler.go 68.6% <57.1%> (+1.1%) ⬆️
controllers/rsync_common.go 65.2% <0.0%> (-2.1%) ⬇️
controllers/replicationsource_controller.go 77.9% <0.0%> (-0.7%) ⬇️

@JohnStrunk
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Oct 28, 2021
@openshift-merge-robot openshift-merge-robot merged commit 5e32d9d into backube:main Oct 28, 2021
@tesshuflower tesshuflower deleted the rename-copymethod-none branch October 28, 2021 14:58
@JohnStrunk JohnStrunk mentioned this pull request Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants