Skip to content

Commit

Permalink
fix dangling fmt arg
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Ricart <alberto@synadia.com>
  • Loading branch information
aricart committed Oct 10, 2024
1 parent 7523004 commit a71ebad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ func processUserPermissionsTemplate(lim jwt.UserPermissionLimits, ujwt *jwt.User
values[tokenNum] = []string{" "}
}
} else if failOnBadSubject {
return nil, fmt.Errorf("template operation in %q: %q is not defined", list[i])
return nil, fmt.Errorf("template operation in %q: %q is not defined", list[i], op)
}
}
if !hasTags {
Expand Down

0 comments on commit a71ebad

Please sign in to comment.