Skip to content

Commit

Permalink
Fix lce id option in host registration (#12849)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2f3484e)
  • Loading branch information
vsedmik authored and web-flow committed Oct 9, 2023
1 parent 7fea78c commit ce4c7bd
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 ce4c7bd

Please sign in to comment.