mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Merge pull request #12178 from matejvasek/swagger-make-filed-optional
Update swagger doc make field optional
This commit is contained in:
@ -44,7 +44,13 @@ type ContainersPruneReport struct {
|
||||
type LibpodContainersPruneReport struct {
|
||||
ID string `json:"Id"`
|
||||
SpaceReclaimed int64 `json:"Size"`
|
||||
PruneError string `json:"Err,omitempty"`
|
||||
// Error which occurred during prune operation (if any).
|
||||
// This field is optional and may be omitted if no error occurred.
|
||||
//
|
||||
// Extensions:
|
||||
// x-omitempty: true
|
||||
// x-nullable: true
|
||||
PruneError string `json:"Err,omitempty"`
|
||||
}
|
||||
|
||||
type Info struct {
|
||||
|
Reference in New Issue
Block a user