mirror of
https://github.com/restic/restic.git
synced 2026-05-03 17:35:25 +00:00
server/key: Rename CreateKey -> CreateMasterKey
This commit is contained in:
+4
-2
@@ -531,8 +531,10 @@ func (s *Server) SearchKey(password string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *Server) CreateKey(password string) error {
|
||||
key, err := CreateKey(s, password)
|
||||
// CreateMasterKey creates a new key with the supplied password, afterwards the
|
||||
// repository config is created.
|
||||
func (s *Server) CreateMasterKey(password string) error {
|
||||
key, err := CreateMasterKey(s, password)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user