diff options
Diffstat (limited to 'internal/handler/exec.go')
-rw-r--r-- | internal/handler/exec.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/handler/exec.go b/internal/handler/exec.go index fdf3810..5ead63e 100644 --- a/internal/handler/exec.go +++ b/internal/handler/exec.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "os" + "strconv" "strings" log "github.com/sirupsen/logrus" @@ -73,6 +74,8 @@ func (gc *GitalyCommand) PrepareContext(ctx context.Context, repository *pb.Repo if !ok { md = metadata.New(nil) } + md.Append("key_id", strconv.Itoa(response.KeyId)) + md.Append("key_type", response.KeyType) md.Append("user_id", response.UserId) md.Append("username", response.Username) md.Append("remote_ip", sshenv.LocalAddr()) |