-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[api] ldap: Simplify checking of Config values
This shortens the code for checking if a value for a certain configuration option matches what we inspect. When a key value pair does not exist in the Config store, the return value for that non-existing key is nil. Therefore we can skip checking the existence of a key and just query andcompare it in one go.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters