Skip to content

Commit

Permalink
fix err
Browse files Browse the repository at this point in the history
  • Loading branch information
devopsbot-mts committed Feb 15, 2019
1 parent a6171da commit f4c1f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldap-client.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (lc *LDAPClient) Connect() error {

lc.Conn = l
}
err = lc.Conn.Bind(lc.BindDN, lc.BindPassword)
err := lc.Conn.Bind(lc.BindDN, lc.BindPassword)
if err != nil {
return fmt.Errorf("cannot bind to ldap. Reason %s", err)
}
Expand Down

0 comments on commit f4c1f51

Please sign in to comment.