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

Output config version in skaffold version #1252

Merged
merged 2 commits into from
Nov 8, 2018

Conversation

nkubala
Copy link
Contributor

@nkubala nkubala commented Nov 7, 2018

Fixes #1239

@codecov-io
Copy link

codecov-io commented Nov 7, 2018

Codecov Report

Merging #1252 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1252      +/-   ##
==========================================
- Coverage   42.19%   42.18%   -0.01%     
==========================================
  Files          96       96              
  Lines        4237     4238       +1     
==========================================
  Hits         1788     1788              
- Misses       2275     2276       +1     
  Partials      174      174
Impacted Files Coverage Δ
pkg/skaffold/version/version.go 33.33% <0%> (-1.97%) ⬇️

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 5cb8824...5c4071d. Read the comment docs.

)

var version, gitCommit, gitTreeState, buildDate string
var platform = fmt.Sprintf("%s/%s", runtime.GOOS, runtime.GOARCH)
var configVersion = latest.Version
Copy link
Contributor

Choose a reason for hiding this comment

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

why not just use latest.Version directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah yeah I was trying something else here originally, you're right I should

@dgageot dgageot merged commit 0badfef into GoogleContainerTools:master Nov 8, 2018
@nkubala nkubala deleted the config_version branch November 8, 2018 18:32
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.

5 participants