diff cmds/multipass-add/add.go @ 18:00d30c67b56d

Put all the library stuff into multipass/file.
author Paul Fisher <paul@pfish.zone>
date Sun, 01 Nov 2015 12:16:51 -0500
parents 342f63116bfd
children
line wrap: on
line diff
--- a/cmds/multipass-add/add.go	Fri Oct 30 00:18:13 2015 -0400
+++ b/cmds/multipass-add/add.go	Sun Nov 01 12:16:51 2015 -0500
@@ -7,7 +7,6 @@
 	"fmt"
 	"os"
 
-	"pfish.zone/go/multipass/auth"
 	"pfish.zone/go/multipass/file"
 )
 
@@ -25,7 +24,7 @@
 		os.Exit(1)
 	}
 	text = text[:len(text)-1]
-	entry, password, err := auth.NewEntry(text)
+	entry, password, err := file.NewEntry(text)
 	if err != nil {
 		fmt.Println(err.Error())
 		os.Exit(1)