mirror of
https://github.com/openziti/zrok.git
synced 2025-01-11 00:18:43 +01:00
tweak (#463)
This commit is contained in:
parent
c0a5afc6f8
commit
d8c9681da1
@ -4,13 +4,15 @@ import (
|
||||
"context"
|
||||
"github.com/openziti/zrok/agent/agentGrpc"
|
||||
"github.com/openziti/zrok/build"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
type agentGrpcImpl struct {
|
||||
agentGrpc.UnimplementedAgentServer
|
||||
}
|
||||
|
||||
func (s *agentGrpcImpl) Version(ctx context.Context, req *agentGrpc.VersionRequest) (*agentGrpc.VersionReply, error) {
|
||||
func (s *agentGrpcImpl) Version(_ context.Context, _ *agentGrpc.VersionRequest) (*agentGrpc.VersionReply, error) {
|
||||
v := build.String()
|
||||
logrus.Infof("responding to version inquiry with '%v'", v)
|
||||
return &agentGrpc.VersionReply{V: &v}, nil
|
||||
}
|
Loading…
Reference in New Issue
Block a user