This commit is contained in:
Stephan D
2026-02-12 12:47:39 +01:00
parent f4b43f7218
commit 97395acd8f
8 changed files with 271 additions and 24 deletions

View File

@@ -14,8 +14,8 @@ var (
BuildDate string
)
func Create() version.Printer {
vi := version.Info{
func Create() version.Printer { //nolint:ireturn // factory returns interface by design
info := version.Info{
Program: "Sendico Discovery Service",
Revision: Revision,
Branch: Branch,
@@ -23,5 +23,6 @@ func Create() version.Printer {
BuildDate: BuildDate,
Version: Version,
}
return vf.Create(&vi)
return vf.Create(&info)
}