Unverified Commit 72071016 authored by Jerry Aldrich's avatar Jerry Aldrich Committed by GitHub
Browse files

Fix error interpolation in LDAP client (#8426)

Signed-off-by: default avatarjerryaldrichiii <jerryaldrichiii@gmail.com>
parent 8bad7624
Showing with 1 addition and 1 deletion
+1 -1
......@@ -217,7 +217,7 @@ func (c *Client) performLdapFilterGroupsSearch(cfg *ConfigEntry, conn Connection
var renderedQuery bytes.Buffer
if err := t.Execute(&renderedQuery, context); err != nil {
return nil, errwrap.Wrapf("LDAP search failed due to template parsing error: {{error}}", err)
return nil, errwrap.Wrapf("LDAP search failed due to template parsing error: {{err}}", err)
}
if c.Logger.IsDebug() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment