Skip to content

Commit

Permalink
Fix uninitialized variable
Browse files Browse the repository at this point in the history
THe command generation for registration had to be split, no need to have a
variable for a fixed value when it is used only once.
  • Loading branch information
rjschwei committed May 9, 2024
1 parent ed4ad6a commit 8334902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/sbin/registercloudguest
Expand Up @@ -113,7 +113,7 @@ def register_modules(extensions, products, registered=[], failed=[]):
if 'transactional' in register_cmd:
cmd = [
register_cmd,
sub_cmd,
'register',
'--url',
'https://%s' % registration_target.get_FQDN(),
'--product',
Expand Down

0 comments on commit 8334902

Please sign in to comment.