Reviewed: https://review.openstack.org/508615 Committed: https://git.openstack.org/cgit/openstack/sushy/commit/?id=2aa31ddf4f90517695831379eee919bbf72d4ff7 Submitter: Jenkins Branch: master
commit 2aa31ddf4f90517695831379eee919bbf72d4ff7 Author: Nate Potter <email address hidden> Date: Fri Sep 29 14:31:01 2017 -0700
Add int_or_none adapter function
Add a function that allows a value to either be translated to an int or left as None if the json value is null to account for null values without throwing an error.
Change-Id: I03c76d01740cfb36648f09112611111a3b316467 Closes-bug: #1720443
Reviewed: https:/ /review. openstack. org/508615 /git.openstack. org/cgit/ openstack/ sushy/commit/ ?id=2aa31ddf4f9 0517695831379ee e919bbf72d4ff7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2aa31ddf4f90517 695831379eee919 bbf72d4ff7
Author: Nate Potter <email address hidden>
Date: Fri Sep 29 14:31:01 2017 -0700
Add int_or_none adapter function
Add a function that allows a value to either be translated
to an int or left as None if the json value is null to account
for null values without throwing an error.
Change-Id: I03c76d01740cfb 36648f091126111 11a3b316467
Closes-bug: #1720443