Skip to content

Fix nil pointer dereference when no account is set on gcloud.#3597

Merged
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:fix-3596
Jan 28, 2020
Merged

Fix nil pointer dereference when no account is set on gcloud.#3597
dgageot merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:fix-3596

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented Jan 28, 2020

Fixes #3596

And add unit tests

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 28, 2020

Codecov Report

Merging #3597 into master will increase coverage by 0.04%.
The diff coverage is 66.66%.

Impacted Files Coverage Δ
pkg/skaffold/docker/authenticators.go 86.66% <66.66%> (+21.14%) ⬆️
...affold/kubernetes/portforward/kubectl_forwarder.go 65.85% <0%> (-2.44%) ⬇️

@dgageot dgageot merged commit 25fb8fc into GoogleContainerTools:master Jan 28, 2020
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.

Nil pointer dereference when gcloud is not properly configured

3 participants