Skip to content

Commit

Permalink
[6.13.z] Fix lce id option in host registration (#12854)
Browse files Browse the repository at this point in the history
Fix lce id option in host registration (#12849)

(cherry picked from commit 2f3484e)

Co-authored-by: vsedmik <[email protected]>
  • Loading branch information
Satellite-QE and vsedmik authored Oct 9, 2023
1 parent 7fea78c commit a6d3f6c
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 @@ -743,7 +743,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 a6d3f6c

Please sign in to comment.