Skip to content

Conversation

@kaovilai
Copy link
Member

@kaovilai kaovilai commented Jul 26, 2022

Corrects API references property fields casing to match what user would type into dpa spec.

Hyperlink to types on pkg.go.dev

Using pseudo version pkg.go.dev to include datamover features property.
https://pkg.go.dev/github.com/openshift/oadp-operator@v0.0.0-20220722142130-a02487302a02/api/v1alpha1#Features
May follow up by replacing pseudo-version with tagged version 1.1.0

This PR is accurate as of a024873

Do this to get psuedo version of latest master commit

go get -d github.com/openshift/oadp-operator/api@master
go: github.com/openshift/oadp-operator/api@master: github.com/openshift/oadp-operator/api@v0.0.0-20220722142130-a02487302a02: invalid version: missing github.com/openshift/oadp-operator/api/go.mod at revision a02487302a02

Closes #770 #768

Using psuedo version to include datamover features property.
https://pkg.go.dev/github.com/openshift/oadp-operator@v0.0.0-20220722142130-a02487302a02/api/v1alpha1#Features

Do this to get psuedo version of latest master commit
```
go get -d github.com/openshift/oadp-operator/api@master
go: github.com/openshift/oadp-operator/api@master: github.com/openshift/oadp-operator/api@v0.0.0-20220722142130-a02487302a02: invalid version: missing github.com/openshift/oadp-operator/api/go.mod at revision a024873
```

Closes openshift#770 openshift#768
@kaovilai kaovilai changed the title Correct API References property casing. Correct upstream API References property casing. Jul 26, 2022
@openshift-ci openshift-ci bot requested review from eemcmullan and sseago July 26, 2022 02:16
@codecov-commenter
Copy link

Codecov Report

Merging #772 (ff9142b) into master (5b41bea) will decrease coverage by 2.74%.
The diff coverage is 7.77%.

@@            Coverage Diff             @@
##           master     #772      +/-   ##
==========================================
- Coverage   36.96%   34.22%   -2.75%     
==========================================
  Files          16       16              
  Lines        3219     2840     -379     
==========================================
- Hits         1190      972     -218     
+ Misses       1926     1778     -148     
+ Partials      103       90      -13     
Impacted Files Coverage Δ
controllers/datamover.go 30.30% <0.00%> (-4.48%) ⬇️
controllers/registry.go 29.23% <0.00%> (-10.97%) ⬇️
pkg/common/common.go 100.00% <ø> (ø)
pkg/credentials/credentials.go 23.69% <ø> (+0.28%) ⬆️
controllers/velero.go 48.28% <43.75%> (-0.64%) ⬇️

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 a024873...ff9142b. Read the comment docs.

@kaovilai kaovilai changed the title Correct upstream API References property casing. Correct upstream API References property casing. Correct DataMover field. Jul 26, 2022
@kaovilai kaovilai changed the title Correct upstream API References property casing. Correct DataMover field. Correct upstream API References property casing, bump velero docs version Jul 26, 2022
@kaovilai
Copy link
Member Author

switching to v0.0.0-20220727202820-c5f87df8fafd for links

Copy link
Member

@savitharaghunathan savitharaghunathan left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 1, 2022
@kaovilai kaovilai merged commit 1a4c817 into openshift:master Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: API_Ref incorrect casing on some fields

6 participants