"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "vendor/github.com/docker/docker/client/volume_prune.go" between
buildah-1.11.2.tar.gz and buildah-1.11.3.tar.gz

About: Buildah is a tool that facilitates building Open Container Initiative (OCI) container images.

volume_prune.go  (buildah-1.11.2):volume_prune.go  (buildah-1.11.3)
skipping to change at line 26 skipping to change at line 26
if err := cli.NewVersionError("1.25", "volume prune"); err != nil { if err := cli.NewVersionError("1.25", "volume prune"); err != nil {
return report, err return report, err
} }
query, err := getFiltersQuery(pruneFilters) query, err := getFiltersQuery(pruneFilters)
if err != nil { if err != nil {
return report, err return report, err
} }
serverResp, err := cli.post(ctx, "/volumes/prune", query, nil, nil) serverResp, err := cli.post(ctx, "/volumes/prune", query, nil, nil)
defer ensureReaderClosed(serverResp)
if err != nil { if err != nil {
return report, err return report, err
} }
defer ensureReaderClosed(serverResp)
if err := json.NewDecoder(serverResp.body).Decode(&report); err != nil { if err := json.NewDecoder(serverResp.body).Decode(&report); err != nil {
return report, fmt.Errorf("Error retrieving volume prune report: %v", err) return report, fmt.Errorf("Error retrieving volume prune report: %v", err)
} }
return report, nil return report, nil
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)