-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
For example:
kci-dev results builds --origin syzbot --giturl 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git' --branch 'linux-5.15.y' --latest --json
Gives
File "/Users/calvarez/Desktop/Development/KernelCI/kci-dev/kcidev/subcommands/results/__init__.py", line 27, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/calvarez/Desktop/Development/KernelCI/kci-dev/kcidev/subcommands/results/__init__.py", line 63, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/calvarez/Desktop/Development/KernelCI/kci-dev/kcidev/subcommands/results/__init__.py", line 90, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/calvarez/Desktop/Development/KernelCI/kci-dev/kcidev/subcommands/results/__init__.py", line 165, in builds
cmd_builds(data, commit, download_logs, status, count, use_json)
File "/Users/calvarez/Desktop/Development/KernelCI/kci-dev/kcidev/subcommands/results/parser.py", line 147, in cmd_builds
if build["valid"] == None:
~~~~~^^^^^^^^
KeyError: 'valid'
As far as I can see the builds API no longer returns the valid field, even though the field still shows in the docs.
It seems to have been changed for a status field.
Metadata
Metadata
Assignees
Labels
No labels