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

Remove service labeling temporarily #965

Merged
merged 2 commits into from
Sep 12, 2018

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Sep 11, 2018

Fixes #959

Copy link
Contributor

@balopat balopat left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -194,3 +192,11 @@ func groupVersionResource(disco discovery.DiscoveryInterface, gvk schema.GroupVe

return schema.GroupVersionResource{}, fmt.Errorf("Could not find resource for %s", gvk.String())
}

func copyMap(dest, from map[string]string) {
if from != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

you can remove this check

ranging over a nil map should be fine, it just will iterate 0 times

https://groups.google.com/forum/#!topic/golang-nuts/2TVM3Rg8w_w

Fixes GoogleContainerTools#959

Signed-off-by: David Gageot <david@gageot.net>
Signed-off-by: David Gageot <david@gageot.net>
@codecov-io
Copy link

Codecov Report

Merging #965 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #965      +/-   ##
==========================================
- Coverage   43.77%   43.76%   -0.02%     
==========================================
  Files          66       66              
  Lines        2764     2765       +1     
==========================================
  Hits         1210     1210              
- Misses       1430     1431       +1     
  Partials      124      124
Impacted Files Coverage Δ
pkg/skaffold/deploy/labels.go 0% <0%> (ø) ⬆️

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 24aefd2...70d2193. Read the comment docs.

@dgageot dgageot merged commit 90bc25d into GoogleContainerTools:master Sep 12, 2018
@dgageot dgageot deleted the fix-959 branch December 28, 2018 07:11
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.

None yet

5 participants