Skip to content

report actual copy error when syncing files to containers#3715

Merged
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
tejal29:report_actual_err
Feb 23, 2020
Merged

report actual copy error when syncing files to containers#3715
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
tejal29:report_actual_err

Conversation

@tejal29
Copy link
Copy Markdown
Contributor

@tejal29 tejal29 commented Feb 21, 2020

Relates to #3685

When investigating #3685, looks like there is an error when copying the sycn file into the container on minikube.
The error message skaffold ends up returning is
didn't sync any files

This PR, surfaces the actual error by waiting for the actual error and return that first.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 21, 2020

Codecov Report

Merging #3715 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

Impacted Files Coverage Δ
pkg/skaffold/sync/sync.go 72.25% <100%> (+0.32%) ⬆️
...affold/kubernetes/portforward/kubectl_forwarder.go 65.85% <0%> (-2.44%) ⬇️

@dgageot dgageot merged commit eb6aa95 into GoogleContainerTools:master Feb 23, 2020
@tejal29 tejal29 deleted the report_actual_err branch April 15, 2021 07:35
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