summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/source/markdown/options/features.md4
-rw-r--r--docs/source/markdown/podman-manifest-add.1.md.in5
-rw-r--r--docs/source/markdown/podman-manifest-annotate.1.md.in5
-rw-r--r--pkg/api/handlers/compat/images.go2
4 files changed, 7 insertions, 9 deletions
diff --git a/docs/source/markdown/options/features.md b/docs/source/markdown/options/features.md
new file mode 100644
index 000000000..b6ac4de34
--- /dev/null
+++ b/docs/source/markdown/options/features.md
@@ -0,0 +1,4 @@
+#### **--features**
+
+Specify the features list which the list or index records as requirements for
+the image. This option is rarely used.
diff --git a/docs/source/markdown/podman-manifest-add.1.md.in b/docs/source/markdown/podman-manifest-add.1.md.in
index d39945e00..f7b9457bc 100644
--- a/docs/source/markdown/podman-manifest-add.1.md.in
+++ b/docs/source/markdown/podman-manifest-add.1.md.in
@@ -39,10 +39,7 @@ retrieved from the image's configuration information.
@@option creds
-#### **--features**
-
-Specify the features list which the list or index records as requirements for
-the image. This option is rarely used.
+@@option features
#### **--os**
diff --git a/docs/source/markdown/podman-manifest-annotate.1.md.in b/docs/source/markdown/podman-manifest-annotate.1.md.in
index 0a8cbf5ac..71e80c0e7 100644
--- a/docs/source/markdown/podman-manifest-annotate.1.md.in
+++ b/docs/source/markdown/podman-manifest-annotate.1.md.in
@@ -23,10 +23,7 @@ the image. This is usually automatically retrieved from the image's
configuration information, so it is rarely necessary to use this option.
-#### **--features**
-
-Specify the features list which the list or index records as requirements for
-the image. This option is rarely used.
+@@option features
#### **--os**
diff --git a/pkg/api/handlers/compat/images.go b/pkg/api/handlers/compat/images.go
index cce482441..d61df5232 100644
--- a/pkg/api/handlers/compat/images.go
+++ b/pkg/api/handlers/compat/images.go
@@ -403,7 +403,7 @@ func GetImage(w http.ResponseWriter, r *http.Request) {
}
inspect, err := handlers.ImageDataToImageInspect(r.Context(), newImage)
if err != nil {
- utils.Error(w, http.StatusInternalServerError, fmt.Errorf("failed to convert ImageData to ImageInspect '%s': %w", inspect.ID, err))
+ utils.Error(w, http.StatusInternalServerError, fmt.Errorf("failed to convert ImageData to ImageInspect '%s': %w", name, err))
return
}
utils.WriteResponse(w, http.StatusOK, inspect)