#2991 CLI channels, hosts methods works with older hub
Merged by tkopecek. Opened by jcupova.
jcupova/koji issue-2990  into  master

Download 2991.patch

Fixes: https://pagure.io/koji/issue/2990

It is the same for description when testing:

2021-08-23 15:45:58,612 [ERROR] koji: KeyError: 'description'

rebased onto c53dabbea969fd3e2c3b4b4583bf13924c6819ac

@tkopecek description fixed and also I found the same problem with enabled, also fixed.

rebased onto 92a7279e5d216a35bae1758bae9505e7cfebf5fd

Would you please update the commit title and PR title? This change fixes more than list-channels now

rebased onto 7515dd05d7afbb8c4f9380373db84d741e5d8d5f

@ktdreyer fixed

Let's narrow this further, like so:

    except koji.GenericError as e:
        if 'Invalid method' in str(e):

rebased onto a836503201d0c70d314d4d4cbc5e8f58b8a9851b

rebased onto 3775744b7c8709814ee7d04cf6f1b8837e2e6dbe

:thumbsup:

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

list-hosts --show-channels is also affected

rebased onto 957f12865c885c9655484dae5b70b1756b441010

@tkopecek fixed

:thumbsup:

Commit 1dd05bea fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata Update from @mfilip:
- Pull-request tagged with: testing-done

Metadata