trickster
trickster copied to clipboard
Replaced GOARCH and GO_VER ldflags
GOARCH is now GOHOSTARCH; references in logging to GOARCH now refer instead to GOHOSTARCH. Runtime functionality that relies on runtime architecture is already using it, so no changes to packages that make decisions based on architecture. GOARCH was used for logging only.
GO_VER is removed; package runtime
now has GoVersion
which is set with other runtime variables in main. All references to applicationGoVersion
now reference trickster.runtime.GoVersion
.
Fixes #606
Signed-off-by: jakenichols2719 [email protected]
The test being failed is regarding the example version print; since the test now pulls the go version on startup, rather than being passed on build, the field for goVersion is not empty. Looking into the best resolution for this.
Pull Request Test Coverage Report for Build 3175437877
- 19 of 19 (100.0%) changed or added relevant lines in 2 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage increased (+0.002%) to 94.37%
Totals | |
---|---|
Change from base Build 3011110302: | 0.002% |
Covered Lines: | 16025 |
Relevant Lines: | 16981 |