telegraf: Reported version is "unknown"
Run telegraf version
, it outputs Telegraf unknown
. Must be Telegraf 1.26.2
.
This is supposedly caused by change in variable names used to print version info in PR #11700 (see Makefile), released in 1.24.0. They've changed it to title case, but the change was not reflected in APKBUILD: it doesn't use original Makefile but runs go build directly, with version ldflags in lowercase, hence the "unknown" version string. Not sure why golang linker misses this usage.
This is present in 3.18, edge probably too (didn't check it but APKBUILD has the same issue).