Skip to content

Commit

Permalink
Fix for registration command packages (#1225) (#1243)
Browse files Browse the repository at this point in the history
it is a space separated string not a list
https://apidocs.theforeman.org/foreman/latest/apidoc/v2/registration_commands/create.html

(cherry picked from commit 4f7c162)

Co-authored-by: dosas <dosas@users.noreply.github.com>
  • Loading branch information
Satellite-QE and dosas authored Nov 14, 2024
1 parent fa18b01 commit db6d658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nailgun/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -6811,7 +6811,7 @@ def __init__(self, server_config=None, **kwargs):
'jwt_expiration': entity_fields.IntegerField(default=4),
'repo': entity_fields.StringField(default=''),
'repo_gpg_key_url': entity_fields.URLField(default=''),
'packages': entity_fields.ListField(default=[]),
'packages': entity_fields.StringField(),
'update_packages': entity_fields.BooleanField(default=False),
'force': entity_fields.BooleanField(default=False),
'ignore_subman_errors': entity_fields.BooleanField(default=False),
Expand Down

0 comments on commit db6d658

Please sign in to comment.