Bug #11137
closedHammer sends values for numeric params as strings
Description
As seen in the hammer log
[ INFO 2015-07-16 17:27:30 HammerCLIForeman::Host::UpdateCommand] Called with options: {"option_volume_list"=>[], "option_interface_list"=>[], "option_architecture_id"=>"1", "option_id"=>"1"}
[ INFO 2015-07-16 17:27:30 API] PUT /api/hosts/1
[DEBUG 2015-07-16 17:27:30 API] Params: {
"host" => {
"architecture_id" => "1",
"compute_attributes" => {
"volumes_attributes" => {}
},
"host_parameters_attributes" => {},
"interfaces_attributes" => {}
}
}
architecture_id is described as numeric param and hammer should send it as such.
Severity is low as API handles the conversion well
Updated by Martin Bacovsky over 9 years ago
- Translation missing: en.field_release deleted (
35)
Updated by Martin Bacovsky over 9 years ago
- Has duplicate Bug #11084: Send API params of type number as numbers added
Updated by The Foreman Bot over 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/187 added
- Pull request deleted (
)
Updated by Martin Bacovsky over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|553be54ee080566d12f75c8635c087c29529d734.