Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
imgserver: improve generated image description
Browse files Browse the repository at this point in the history
  • Loading branch information
M1cha committed Aug 2, 2022
1 parent fab6b71 commit 65429f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/imgserver/imgserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ func imagesJsonHandler(w http.ResponseWriter, r *http.Request) {
productMap[name] = simplestreams.Product{
Aliases: fmt.Sprintf("%s/current/default,%s/current,%s", name, name, name),
Architecture: runtime.GOARCH,
OperatingSystem: "Docker",
OperatingSystem: fmt.Sprintf("docker:%s", name),
ReleaseTitle: "latest",
Versions: map[string]simplestreams.ProductVersion{
versionName: simplestreams.ProductVersion{
Items: map[string]simplestreams.ProductVersionItem{
Expand Down

0 comments on commit 65429f0

Please sign in to comment.