Skip to content

Commit

Permalink
Fix for registration command packages (#1225) (#1245)
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 <[email protected]>
  • Loading branch information
Satellite-QE and dosas authored Nov 14, 2024
1 parent 3e08f60 commit 41d5caf
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 @@ -6728,7 +6728,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 41d5caf

Please sign in to comment.