Skip to content

Commit

Permalink
Fix for registration command packages (#1225)
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)
  • Loading branch information
dosas authored and web-flow committed Nov 14, 2024
1 parent 07fb49f commit 50a73c0
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 @@ -6522,7 +6522,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 50a73c0

Please sign in to comment.