diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2018-08-23 22:29:46 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2018-08-23 22:29:46 +0100 |
commit | eb1184b284ea37cc31556e3598916ac9c3fa6939 (patch) | |
tree | 20131b8be8e77ad1e575f8d616bf2294d3cfb888 /server/store/mem.go | |
parent | 99225736d41e86c7f47eac4db3455b18178bba24 (diff) |
Record request reason in the db instead of logging
Diffstat (limited to 'server/store/mem.go')
-rw-r--r-- | server/store/mem.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/server/store/mem.go b/server/store/mem.go index 9d5038d..8f27854 100644 --- a/server/store/mem.go +++ b/server/store/mem.go @@ -4,8 +4,6 @@ import ( "fmt" "sync" "time" - - "golang.org/x/crypto/ssh" ) var _ CertStorer = (*memoryStore)(nil) @@ -27,11 +25,6 @@ func (ms *memoryStore) Get(id string) (*CertRecord, error) { return r, nil } -// SetCert parses a *ssh.Certificate and records it -func (ms *memoryStore) SetCert(cert *ssh.Certificate) error { - return ms.SetRecord(parseCertificate(cert)) -} - // SetRecord records a *CertRecord func (ms *memoryStore) SetRecord(record *CertRecord) error { ms.Lock() |