mirror of
https://github.com/restic/restic.git
synced 2026-10-14 14:07:11 +00:00
server/key: Rename CreateKey -> CreateMasterKey
This commit is contained in:
1 parent
9b54fd7bdb
commit
bebb08ee7e
4 files changed
+9
-7
No files matched your search
+1
-1
@@ -75,7 +75,7 @@ func (cmd CmdInit) Execute(args []string) error {
|
||||
|
||||
s := server.NewServer(be)
|
||||
|
||||
_, err = server.CreateKey(s, pw)
|
||||
_, err = server.CreateMasterKey(s, pw)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "creating key in backend at %s failed: %v\n", opts.Repo, err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in new issue
Block a user