Merge pull request #614 from rasa/584-add-golang-version-to-log
core: log golang version in debug output
This commit is contained in:
commit
e21a867564
|
@ -82,6 +82,7 @@ func wrappedMain() int {
|
||||||
"Packer Version: %s %s %s",
|
"Packer Version: %s %s %s",
|
||||||
packer.Version, packer.VersionPrerelease, packer.GitCommit)
|
packer.Version, packer.VersionPrerelease, packer.GitCommit)
|
||||||
log.Printf("Packer Target OS/Arch: %s %s", runtime.GOOS, runtime.GOARCH)
|
log.Printf("Packer Target OS/Arch: %s %s", runtime.GOOS, runtime.GOARCH)
|
||||||
|
log.Printf("Built with Go Version: %s", runtime.Version())
|
||||||
|
|
||||||
// Prepare stdin for plugin usage by switching it to a pipe
|
// Prepare stdin for plugin usage by switching it to a pipe
|
||||||
setupStdin()
|
setupStdin()
|
||||||
|
|
Loading…
Reference in New Issue