Actions
Bug #10547
closedCan't set array parameters to hosts
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Description
hammer host update --id 26 --parameters 'servers=["time.apple.com","pool.ntp.org"]' Could not update the host: undefined method `strip!' for ["a", "b"]:Array
The error happens on api side because hammer sends array object in value of the parameter instead of expected string.
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/180 added
- Pull request deleted (
)
Updated by Anonymous over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|1a31a19778c3d687aee0f387691305c3afca5c58.
Actions