server/key: Rename CreateKey -> CreateMasterKey
This commit is contained in:
parent
9b54fd7bdb
commit
bebb08ee7e
4 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue