Fix misspelling

This commit is contained in:
Andrey Smirnov
2017-07-14 23:25:46 +03:00
parent 5e9515a912
commit 05a5e69483
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ func (context *AptlyContext) _database() (database.Storage, error) {
context.database, err = database.NewDB(context.dbPath()) context.database, err = database.NewDB(context.dbPath())
if err != nil { if err != nil {
return nil, fmt.Errorf("can't instanciate database: %s", err) return nil, fmt.Errorf("can't instantiate database: %s", err)
} }
} }
+1
View File
@@ -121,6 +121,7 @@ func (g *GoSigner) Init() error {
i++ i++
} }
// TODO: retry passphrase entry
fmt.Print("\nEnter passphrase: ") fmt.Print("\nEnter passphrase: ")
var bytePassphrase []byte var bytePassphrase []byte
bytePassphrase, err = terminal.ReadPassword(int(syscall.Stdin)) bytePassphrase, err = terminal.ReadPassword(int(syscall.Stdin))