-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network inspect Id vs ID #22231
Comments
It seems a bug, I'd like to take a look at it |
#dibs |
@vdemeester and @calavera WDYT about the issue ? I have opened one in |
hi @thaJeztah I tried change vendor/engine-api (https://github.com/docker/docker/blob/master/hack/vendor.sh#L63) with my engine-api commit docker/engine-api#207 But it seems can not just engine-api, as when I build, it also pops other issues # github.com/docker/docker/api/client So I think just vendor engine-api seems not good, maybe need vendor other? |
@HackToday it's because of the chekpoint/restore PR merged into |
hi @vdemeester and @thaJeztah I am not sure who will do vendor for that, Not sure if #22861 handle that or not. Will I do vendor for that ? |
ping @thaJeztah and @vdemeester in case missed it 😄 |
This fixes moby#22231 Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:
Describe the results you received:
When running network inspect, the JSON output shows the "Id" field capitalised as such, however, running an inspect -f will fail if "{{.Id}}" is used, and instead is should be written "{{.ID}}
Describe the results you expected:
for inspect -f {{.Id}} to return the ID as the consistent name displayed in a bare network inspect.
Additional information you deem important (e.g. issue happens only occasionally):
TL;DR Network ID is named "Id" in network inspect, but network inspect -f expects "ID".
The text was updated successfully, but these errors were encountered: