Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit c73e7cc

Browse files
committed
fix: innefectual assign
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
1 parent 08e406d commit c73e7cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

parser.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ func quickSetup(sto *storage.Storage, values map[string]string) error {
181181
}
182182

183183
password, err := users.HashPwd("admin")
184+
if err != nil {
185+
return err
186+
}
187+
184188
user := &users.User{
185189
Username: "admin",
186190
Password: password,

0 commit comments

Comments
 (0)