#2694 adding invalid target name error message
Merged by tkopecek. Opened by lrossett.
lrossett/koji issue-2600_list-targets-error  into  master

Download 2694.patch

Fixes #2600

Changes

  • Sets an error message if on targets were found;
  • Sets a special error message in case --name was used and no records were found;
  • Added test_list_targets.py file

Verification

  • Run tests or run koij list-tragets --name=gimme-an-error

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

:thumbsup:

@tkopecek what do you think about use consistent error message for non existing build target? As I see, we are using 'Invalid build target: non-exist-build-target' or 'Unknown build target: non-exist-build-target'.

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

@jcupova Yep, can you create separate ticket to catch these and reword them in a bulk?

Commit 50db3b92 fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata