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

refactor: Rename ProjectParameter to ProjectVersionParameter #170

Merged
merged 2 commits into from
Feb 7, 2022

Conversation

kylecarbs
Copy link
Member

This was confusing with ParameterValue before. It still is a bit,
but this should help distinguish scope.

@kylecarbs kylecarbs self-assigned this Feb 6, 2022
@codecov
Copy link

codecov bot commented Feb 6, 2022

Codecov Report

Merging #170 (2df0927) into main (ed705f6) will increase coverage by 0.22%.
The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
+ Coverage   65.54%   65.77%   +0.22%     
==========================================
  Files         103      103              
  Lines        5294     5294              
  Branches       68       68              
==========================================
+ Hits         3470     3482      +12     
+ Misses       1495     1485      -10     
+ Partials      329      327       -2     
Flag Coverage Δ
unittest-go-macos-latest 65.92% <93.33%> (+0.25%) ⬆️
unittest-js 64.66% <ø> (ø)
Impacted Files Coverage Δ
coderd/projectversion.go 66.66% <83.33%> (ø)
coderd/projectparameter/projectparameter.go 67.44% <100.00%> (ø)
coderd/provisionerdaemons.go 50.88% <100.00%> (ø)
codersdk/projects.go 70.87% <100.00%> (ø)
peer/channel.go 82.92% <0.00%> (-1.83%) ⬇️
peer/conn.go 80.51% <0.00%> (+2.82%) ⬆️
peerbroker/dial.go 80.95% <0.00%> (+4.76%) ⬆️

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 ed705f6...2df0927. Read the comment docs.

Base automatically changed from datadog to main February 7, 2022 17:32
This was confusing with ParameterValue before. It still is a bit,
but this should help distinguish scope.
@@ -40,11 +40,11 @@ func Compute(ctx context.Context, db database.Store, scope Scope) ([]Value, erro
compute := &compute{
db: db,
computedParameterByName: map[string]Value{},
projectVersionParametersByName: map[string]database.ProjectParameter{},
projectVersionParametersByName: map[string]database.ProjectVersionParameter{},
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for updating this name - it does help clarify the scope for me

Copy link
Contributor

@bryphe-coder bryphe-coder left a comment

Choose a reason for hiding this comment

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

Thanks for keeping the names up-to-date, LGTM 👍

@kylecarbs kylecarbs enabled auto-merge (squash) February 7, 2022 21:40
@kylecarbs kylecarbs merged commit d55231c into main Feb 7, 2022
@kylecarbs kylecarbs deleted the projectversionparam branch February 7, 2022 21:40
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

2 participants