@@ -65,7 +65,7 @@ func Receive(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo.Interrupt)
6565 gitHome := p .Get ("gitHome" , "/home/git" ).(string )
6666 userinfo := p .Get ("userinfo" , nil ).(* controller.UserInfo )
6767
68- log .Debugf (c , "receiving git repo name: %s, operation: %s, fingerprint: %s, user: %s" , repoName , operation , userinfo .FingerPrint , userinfo .Username )
68+ log .Debugf (c , "receiving git repo name: %s, operation: %s, fingerprint: %s, user: %s" , repoName , operation , userinfo .Fingerprint , userinfo .Username )
6969
7070 repo , err := cleanRepoName (repoName )
7171 if err != nil {
@@ -104,7 +104,7 @@ func Receive(c cookoo.Context, p *cookoo.Params) (interface{}, cookoo.Interrupt)
104104 cmd .Env = []string {
105105 fmt .Sprintf ("RECEIVE_USER=%s" , userinfo .Username ),
106106 fmt .Sprintf ("RECEIVE_REPO=%s" , repo ),
107- fmt .Sprintf ("RECEIVE_FINGERPRINT=%s" , userinfo .FingerPrint ),
107+ fmt .Sprintf ("RECEIVE_FINGERPRINT=%s" , userinfo .Fingerprint ),
108108 fmt .Sprintf ("SSH_ORIGINAL_COMMAND=%s '%s'" , operation , repo ),
109109 fmt .Sprintf ("SSH_CONNECTION=%s" , c .Get ("SSH_CONNECTION" , "0 0 0 0" ).(string )),
110110 }
0 commit comments