When loading the auth plugin options, the conversion from "-" into "_"
is done based on the "dest" attribute of the option, instead of using
its name. This makes that if a plugin defines an option with a different
destination the wrong option will be created in osc, therefore the
option won't be passed properly to the plugin class.
Reviewed: https:/ /review. openstack. org/339243 /git.openstack. org/cgit/ openstack/ osc-lib/ commit/ ?id=abc824010a9 0ceb84ae94cd575 5ef9e3d3635eae
Committed: https:/
Submitter: Jenkins
Branch: master
commit abc824010a90ceb 84ae94cd5755ef9 e3d3635eae
Author: Dean Troyer <email address hidden>
Date: Thu Jul 7 16:24:03 2016 -0500
Generate auth plugin options based on the name
When loading the auth plugin options, the conversion from "-" into "_"
is done based on the "dest" attribute of the option, instead of using
its name. This makes that if a plugin defines an option with a different
destination the wrong option will be created in osc, therefore the
option won't be passed properly to the plugin class.
Backported from OSC Iac7346dd57f8ea 4f5b956b9bdf9f7 0d9494b63f8 /review. openstack. org/#/c/ 335003/)
(https:/
Co-Authored-By: Alvaro Lopez Garcia <email address hidden> 13d2562ebc0655b f11d24175c9
Closes-Bug: #1596937
Change-Id: Iab84c918f82d03