commit | 6b50623459b54af222cb9a79c5a0c7912c92da41 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Fri Sep 10 13:14:54 2021 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Fri Sep 10 13:17:36 2021 -0500 |
tree | 236af9122e8028047796b949753c47ce203eeb56 | |
parent | f18b21e0e16a2ac5fe1600bcc35b8c89a7e51caf [diff] |
Put PowerState On/Off enums in quotes Without this, the python code generator converts them to booleans and emits True and False as the enum values in the generated code. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I4d8804e6c83055c55ebbbe032d65c6609518c711
diff --git a/yaml/xyz/openbmc_project/State/Decorator/PowerState.interface.yaml b/yaml/xyz/openbmc_project/State/Decorator/PowerState.interface.yaml index 4f8ea2d..06aa56f 100644 --- a/yaml/xyz/openbmc_project/State/Decorator/PowerState.interface.yaml +++ b/yaml/xyz/openbmc_project/State/Decorator/PowerState.interface.yaml
@@ -12,10 +12,10 @@ description: > Power state enum. values: - - name: On + - name: "On" description: > The state of the object is powered on. - - name: Off + - name: "Off" description: > The state of the object is powered off. - name: PoweringOn