Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@skriss
Copy link
Member

@skriss skriss commented Nov 30, 2020

Signed-off-by: Steve Kriss [email protected]

@skriss
Copy link
Member Author

skriss commented Nov 30, 2020

This has the benefit of addressing the linting failure on main: https://github.com/projectcontour/contour/runs/1456955582#step:3:68

…chinery

Replaces our copy-pasted version of the Condition and related types with
the apimachinery version now that it's in a tagged release that Contour
uses.

Signed-off-by: Steve Kriss <[email protected]>
@codecov
Copy link

codecov bot commented Nov 30, 2020

Codecov Report

Merging #3159 (8fb68a9) into main (72ce3ec) will increase coverage by 0.03%.
The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3159      +/-   ##
==========================================
+ Coverage   74.18%   74.21%   +0.03%     
==========================================
  Files          96       96              
  Lines        6011     6011              
==========================================
+ Hits         4459     4461       +2     
+ Misses       1455     1454       -1     
+ Partials       97       96       -1     
Impacted Files Coverage Δ
internal/k8s/helpers.go 91.66% <ø> (ø)
internal/status/proxystatus.go 80.95% <75.00%> (ø)
internal/contour/metrics.go 71.42% <100.00%> (ø)
internal/dag/extension_processor.go 93.93% <100.00%> (ø)
internal/fixture/detailedcondition.go 66.66% <100.00%> (ø)
internal/status/cache.go 88.88% <100.00%> (ø)
internal/status/extensionstatus.go 56.41% <100.00%> (ø)
internal/dag/cache.go 96.13% <0.00%> (+0.77%) ⬆️

Copy link
Member

@stevesloka stevesloka left a comment

Choose a reason for hiding this comment

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

/lgtm

@stevesloka stevesloka merged commit e11d4ce into projectcontour:main Nov 30, 2020
@skriss skriss deleted the rm-kubeconditions branch November 30, 2020 17:13
skriss added a commit to skriss/contour that referenced this pull request Nov 30, 2020
…ility

PR projectcontour#3159 removed publicly exported types; this PR adds back type aliases
to the k8s.io/apimachinery/pkg/apis/meta/v1 Condition types to retain
API compatibility.

Updates projectcontour#3159.
Closes projectcontour#3003.

Signed-off-by: Steve Kriss <[email protected]>
skriss added a commit to skriss/contour that referenced this pull request Nov 30, 2020
PR projectcontour#3159 removed publicly exported types; this PR adds back type aliases
to the k8s.io/apimachinery/pkg/apis/meta/v1 Condition types to retain
API compatibility.

Updates projectcontour#3159.
Closes projectcontour#3003.

Signed-off-by: Steve Kriss <[email protected]>
skriss added a commit that referenced this pull request Nov 30, 2020
skriss added a commit that referenced this pull request Nov 30, 2020
…om apimachinery (#3159)" (#3161)

This reverts commit e11d4ce.

Signed-off-by: Steve Kriss <[email protected]>
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.

2 participants