Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #6055 - HC add/remove-content-host take uuid #180

Merged
merged 1 commit into from
Jun 6, 2014

Conversation

dustints
Copy link
Member

@dustints dustints commented Jun 4, 2014

the host-collection command's --system-id option was accepting database
ids instead of uuids. This uses the
add_host_collections/remove_host_collections action instead of the
AssociatingCommands (which uses the update action). This is a simpler
approach than trying to alter/override the behavior of an
AssociatingCommand to accept uuids.

@@ -91,7 +91,25 @@ class DeleteCommand < HammerCLIKatello::DeleteCommand
build_options
end

HammerCLIKatello::AssociatingCommands::ContentHost.extend_command(self)
class AddCoSingleResourceCommandntentHostCommand < HammerCLIKatello::SingleResourceCommand
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the class name looks a bit off... :) AddCoSingleResourceCommandntentHostCommand ?

@bbuckingham
Copy link
Member

ACK pending comment

the host-collection command's --system-id option was accepting database
ids instead of uuids. This uses the
add_host_collections/remove_host_collections action instead of the
AssociatingCommands (which uses the update action). This is a simpler
approach than trying to alter/override the behavior of an
AssociatingCommand to accept uuids.
dustints pushed a commit that referenced this pull request Jun 6, 2014
Fixes #6055 - HC add/remove-content-host take uuid
@dustints dustints merged commit 471acb3 into Katello:master Jun 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants