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

Convert storage type to typed string #1282

Merged
merged 3 commits into from
Oct 29, 2020

Conversation

SezalAgrawal
Copy link
Contributor

The JaegerStorageSpec currently has the storage type as a string. It is changed to a typed string. This PR also includes changes in storage type in all the required files.

Resolves: #111
Signed-off-by: Sezal Agrawal [email protected]

Changed references of storage type throughout the repo.

Resolves: jaegertracing#111
Signed-off-by: Sezal Agrawal <[email protected]>
@SezalAgrawal
Copy link
Contributor Author

@jpkrohling I ran make generate and have committed the new zz_generated.openapi.go. The build is still failing with error message Build failed: a model has been changed but the generated resources aren't up to date. Run 'make generate' and update your PR.

@jpkrohling
Copy link
Contributor

This looks like a path issue: take a look at the changes for the generated openapi, GetOpenAPIDefinitions function. Do you have a GOPATH set?

Signed-off-by: Sezal Agrawal <[email protected]>
@codecov
Copy link

codecov bot commented Oct 29, 2020

Codecov Report

Merging #1282 into master will increase coverage by 0.01%.
The diff coverage is 97.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1282      +/-   ##
==========================================
+ Coverage   87.31%   87.32%   +0.01%     
==========================================
  Files          90       89       -1     
  Lines        4942     4947       +5     
==========================================
+ Hits         4315     4320       +5     
  Misses        464      464              
  Partials      163      163              
Impacted Files Coverage Δ
pkg/storage/elasticsearch_secrets.go 89.85% <ø> (ø)
pkg/cronjob/spark_dependencies.go 93.00% <75.00%> (ø)
pkg/apis/jaegertracing/v1/jaeger_types.go 100.00% <100.00%> (ø)
pkg/deployment/all_in_one.go 100.00% <100.00%> (ø)
pkg/deployment/collector.go 96.50% <100.00%> (ø)
pkg/deployment/ingester.go 95.90% <100.00%> (ø)
pkg/deployment/query.go 100.00% <100.00%> (ø)
pkg/storage/dependency.go 100.00% <100.00%> (ø)
pkg/storage/elasticsearch.go 81.20% <100.00%> (ø)
pkg/storage/elasticsearch_dependencies.go 100.00% <100.00%> (ø)
... and 5 more

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 e5f2540...5c919e3. Read the comment docs.

Copy link
Contributor

@kevinearls kevinearls left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

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

Marking this as approved based on @kevinearls's review.

@jpkrohling
Copy link
Contributor

Thank you for your contribution!

@mergify mergify bot merged commit c418931 into jaegertracing:master Oct 29, 2020
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.

Convert storage type to typed string
4 participants