Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-18927

hammer settings set returns incomplete message for False values

XMLWordPrintable

    • Low
    • None

      Description of problem:
      hammer settings set returns incomplete message when setting some boolean with False value.

      Version-Release number of selected component (if applicable):
      6.14.0 snap 6

      How reproducible:
      always

      Steps to Reproduce:
      1. Try to set some (no matter which) boolean setting to False:

      1. hammer settings set --name db_pending_seed --value 0

      Actual results:
      Setting [db_pending_seed] updated to [].

      Expected results:
      Setting [db_pending_seed] updated to [false].

      Additional info:
      Works fine for True values

      1. hammer settings set --name db_pending_seed --value False
        Setting [db_pending_seed] updated to [].
      2. hammer settings set --name db_pending_seed --value false
        Setting [db_pending_seed] updated to [].
      3. hammer settings set --name db_pending_seed --value 0
        Setting [db_pending_seed] updated to [].
      1. hammer settings set --name db_pending_seed --value True
        Setting [db_pending_seed] updated to [true].
      2. hammer settings set --name db_pending_seed --value true
        Setting [db_pending_seed] updated to [true].
      3. hammer settings set --name db_pending_seed --value 1
        Setting [db_pending_seed] updated to [true].

          There are no Sub-Tasks for this issue.

              ofedoren@redhat.com Oleh Fedorenko
              jira-bugzilla-migration RH Bugzilla Integration
              Peter Ondrejka Peter Ondrejka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: