API remove network returns array instead of a single result #10494
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
The API reference lists a single element as reponse to a request to the remove network endpoint. The API returns an array instead.
Steps to reproduce the issue:
podman system service unix:///home/`whoami`/testing.sock --log-level=debug --time=500
podman network create testing
Describe the results you received:
An array of results.
Describe the results you expected:
A single result.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Static build from here.
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Checked troubleshooting guide, didn't find any static builds from CI besides the one from the 3.1.2 release I downloaded earlier.
Additional environment details (AWS, VirtualBox, physical, etc.):
Windows 10, 64bit, WLS2, Debian 10
The text was updated successfully, but these errors were encountered: