Skip to content

Commit

Permalink
Fix lce id option in host registration
Browse files Browse the repository at this point in the history
  • Loading branch information
vsedmik authored and damoore044 committed Oct 9, 2023
1 parent fbf3855 commit 7aacb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robottelo/hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ def register(
raise ValueError('Global registration method can be used with Satellite/Capsule only')

if lifecycle_environment is not None:
options['lifecycle_environment_id'] = lifecycle_environment.id
options['lifecycle-environment-id'] = lifecycle_environment.id
if operating_system is not None:
options['operatingsystem-id'] = operating_system.id
if hostgroup is not None:
Expand Down

0 comments on commit 7aacb77

Please sign in to comment.