server: Rename CreateMasterKey() to Init()

This commit is contained in:
Alexander Neumann
2015-05-04 20:40:17 +02:00
parent ae1a85c896
commit 35af933f24
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ func (cmd CmdInit) Execute(args []string) error {
}
s := server.NewServer(be)
err = s.CreateMasterKey(pw)
err = s.Init(pw)
if err != nil {
fmt.Fprintf(os.Stderr, "creating key in backend at %s failed: %v\n", opts.Repo, err)
os.Exit(1)