summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/server/register_images.go2
-rw-r--r--pkg/domain/entities/images.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index 87ddf5add..e8dfe2fa8 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -967,7 +967,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// 500:
// $ref: '#/responses/InternalError'
r.Handle(VersionedPath("/libpod/images/{name:.*}/tag"), s.APIHandler(compat.TagImage)).Methods(http.MethodPost)
- // swagger:operation POST /commit libpod libpodCommitContainer
+ // swagger:operation POST /libpod/commit libpod libpodCommitContainer
// ---
// tags:
// - containers
diff --git a/pkg/domain/entities/images.go b/pkg/domain/entities/images.go
index c84ed5351..f18ee2651 100644
--- a/pkg/domain/entities/images.go
+++ b/pkg/domain/entities/images.go
@@ -105,7 +105,7 @@ type ImageHistoryOptions struct{}
type ImageHistoryLayer struct {
ID string `json:"Id"`
- Created int64 `json:"Created,omitempty"`
+ Created int64 `json:",omitempty"`
CreatedBy string `json:",omitempty"`
Tags []string `json:",omitempty"`
Size int64 `json:",omitempty"`