Loading batch/batch.go +2 −2 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ the first user.`) Name: name, }) ask.CheckErr(err) ask.CheckErr(key.Add(login, sshkey)) ask.CheckErr(key.AddDB(q, login, sshkey)) userCreated := map[string]bool{ "SYSTEM": true, login: true, Loading Loading @@ -263,7 +263,7 @@ func NewUser(args []string) int { return 1 } response := key.Fetch(u.Login, args[1], args[2]) response := key.FetchDB(q, u.Login, args[1], args[2]) fmt.Println(response) if strings.HasPrefix(response, "ERROR") { return 1 Loading Loading
batch/batch.go +2 −2 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ the first user.`) Name: name, }) ask.CheckErr(err) ask.CheckErr(key.Add(login, sshkey)) ask.CheckErr(key.AddDB(q, login, sshkey)) userCreated := map[string]bool{ "SYSTEM": true, login: true, Loading Loading @@ -263,7 +263,7 @@ func NewUser(args []string) int { return 1 } response := key.Fetch(u.Login, args[1], args[2]) response := key.FetchDB(q, u.Login, args[1], args[2]) fmt.Println(response) if strings.HasPrefix(response, "ERROR") { return 1 Loading