Trying a utility file
This commit is contained in:
parent
5a8b8cf7d1
commit
407761abcc
1 changed files with 3 additions and 3 deletions
6
utils.go
6
utils.go
|
@ -68,9 +68,9 @@ func addNewUser(newUser NewUser, config *ConfigFile, login *LoginStatus) bool {
|
|||
req.Attribute("description", []string{newUser.Description})
|
||||
}
|
||||
err := login.conn.Add(req)
|
||||
// log.Printf(fmt.Sprintf("71: %v",err))
|
||||
// log.Printf(fmt.Sprintf("72: %v",req))
|
||||
// log.Printf(fmt.Sprintf("73: %v",newUser))
|
||||
log.Printf(fmt.Sprintf("71: %v", err))
|
||||
log.Printf(fmt.Sprintf("72: %v", req))
|
||||
log.Printf(fmt.Sprintf("73: %v", newUser))
|
||||
if err != nil {
|
||||
log.Printf(fmt.Sprintf("75: %v", err))
|
||||
return false
|
||||
|
|
Loading…
Reference in a new issue