fix version info

This commit is contained in:
Willy Kloucek
2022-06-13 10:41:14 +02:00
parent 588293fd19
commit 68a6f43538
93 changed files with 112 additions and 102 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ func Server(cfg *config.Config) *cli.Command {
cfg.GRPC.Namespace+"."+cfg.Service.Name,
uuid.Must(uuid.NewV4()).String(),
cfg.GRPC.Addr,
version.String,
version.GetString(),
logger,
); err != nil {
logger.Fatal().Err(err).Msg("failed to register the grpc endpoint")
+1 -1
View File
@@ -19,7 +19,7 @@ func Version(cfg *config.Config) *cli.Command {
Usage: "print the version of this binary and the running extension instances",
Category: "info",
Action: func(c *cli.Context) error {
fmt.Println("Version: " + version.String)
fmt.Println("Version: " + version.GetString())
fmt.Printf("Compiled: %s\n", version.Compiled())
fmt.Println("")