Skip to content

Simplify Debug Transformer interface and allow Apply to fail on images#3931

Merged
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
briandealwis:simplify-apply
Apr 14, 2020
Merged

Simplify Debug Transformer interface and allow Apply to fail on images#3931
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
briandealwis:simplify-apply

Conversation

@briandealwis
Copy link
Copy Markdown
Member

  • avoid panics by returning a ContainerDebugConfiguration instead of a pointer
  • allow returning a different debug-helper image: this will be helpful with support musl vs glibc situations
  • return a more helpful error message when Apply() is unable to be applied

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2020

Codecov Report

Merging #3931 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Impacted Files Coverage Δ
pkg/skaffold/debug/transform.go 89.37% <100.00%> (ø)
pkg/skaffold/debug/transform_go.go 85.86% <100.00%> (-0.31%) ⬇️
pkg/skaffold/debug/transform_jvm.go 94.68% <100.00%> (-0.06%) ⬇️
pkg/skaffold/debug/transform_nodejs.go 77.67% <100.00%> (-0.20%) ⬇️
pkg/skaffold/debug/transform_python.go 84.33% <100.00%> (-0.37%) ⬇️
...affold/kubernetes/portforward/kubectl_forwarder.go 65.85% <0.00%> (-2.44%) ⬇️

  - avoid panics by returning a ContainerDebugConfiguration instead of a pointer
  - allow returning a different debug-helper image
  - return a more helpful error message
@dgageot dgageot merged commit 396ccf1 into GoogleContainerTools:master Apr 14, 2020
@briandealwis briandealwis deleted the simplify-apply branch April 18, 2020 18:13
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