diff options
author | Lei YU <mine260309@gmail.com> | 2019-01-09 10:25:49 +0800 |
---|---|---|
committer | Lei YU <mine260309@gmail.com> | 2019-01-09 10:25:49 +0800 |
commit | cb1d059cebf9d6dbb83ff3cb3d6eab42dc018a00 (patch) | |
tree | 4aab6586c4c4473c9f0ae1ef651a693773fb6794 | |
parent | 99b5aaa499c2f1a71a031051136744ad1e7df869 (diff) | |
download | phosphor-dbus-interfaces-cb1d059cebf9d6dbb83ff3cb3d6eab42dc018a00.tar.gz phosphor-dbus-interfaces-cb1d059cebf9d6dbb83ff3cb3d6eab42dc018a00.zip |
Fix invalid enum value in User/Ldap/Config.interface.yaml
The interfaces sets the default value for a enum property to 0, which
causes the generated server.hpp file contains code like:
SearchScope _lDAPSearchScope = SearchScope::0;
Fix it by specify the enum value instead of 0.
Tested: Verify the generated code becomes below and pass the build.
SearchScope _lDAPSearchScope = SearchScope::sub;
Change-Id: I509b6968d32dec38d1592103df9821b2fc99b5d6
Signed-off-by: Lei YU <mine260309@gmail.com>
-rw-r--r-- | xyz/openbmc_project/User/Ldap/Config.interface.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xyz/openbmc_project/User/Ldap/Config.interface.yaml b/xyz/openbmc_project/User/Ldap/Config.interface.yaml index 34babf1..6b0a1e5 100644 --- a/xyz/openbmc_project/User/Ldap/Config.interface.yaml +++ b/xyz/openbmc_project/User/Ldap/Config.interface.yaml @@ -29,7 +29,7 @@ properties: type: enum[self.SearchScope] description: > Specifies the search scope:subtree, one level or base object. - default: 0 + default: sub errors: - xyz.openbmc_project.Common.Error.InternalFailure - name: LDAPType |