mirror of https://github.com/agola-io/agola
configstore: fix remote source ssh_host_key update
This commit is contained in:
parent
58710d48d3
commit
60d6beb7b7
|
@ -94,6 +94,7 @@ func (h *CreateRemoteSourceHandler) ServeHTTP(w http.ResponseWriter, r *http.Req
|
|||
AuthType: req.AuthType,
|
||||
Oauth2ClientID: req.Oauth2ClientID,
|
||||
Oauth2ClientSecret: req.Oauth2ClientSecret,
|
||||
SSHHostKey: req.SSHHostKey,
|
||||
SkipSSHHostKeyCheck: req.SkipSSHHostKeyCheck,
|
||||
RegistrationEnabled: req.RegistrationEnabled,
|
||||
LoginEnabled: req.LoginEnabled,
|
||||
|
@ -140,6 +141,7 @@ func (h *UpdateRemoteSourceHandler) ServeHTTP(w http.ResponseWriter, r *http.Req
|
|||
AuthType: req.AuthType,
|
||||
Oauth2ClientID: req.Oauth2ClientID,
|
||||
Oauth2ClientSecret: req.Oauth2ClientSecret,
|
||||
SSHHostKey: req.SSHHostKey,
|
||||
SkipSSHHostKeyCheck: req.SkipSSHHostKeyCheck,
|
||||
RegistrationEnabled: req.RegistrationEnabled,
|
||||
LoginEnabled: req.LoginEnabled,
|
||||
|
|
Loading…
Reference in New Issue