Parcourir la source

Server show correct APIVersion now

Staffan Olsson il y a 3 ans
Parent
commit
c44eb453e9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      server.go

+ 1 - 1
server.go

@@ -18,7 +18,7 @@ func (s *Server) GetEnvironment(context.Context, *Void) (*Environment, error) {
 		GitCommit:  GitCommit,
 		BuildTime:  BuildTime,
 		GoOsArch:   GoOsArch,
-		ApiVersion: Version,
+		ApiVersion: APIVersion,
 		GoVersion:  GoVersion,
 	}
 	return rsp, nil