Skip to content

Commit

Permalink
Add More Image Metadata (#83)
Browse files Browse the repository at this point in the history
From experimentation it's abundantly clear that for UX the OS needs to
be more prescriptive and accurate in its filed naming.
  • Loading branch information
spjmurray authored Dec 3, 2024
1 parent 3debb83 commit 1cfab33
Show file tree
Hide file tree
Showing 4 changed files with 201 additions and 149 deletions.
8 changes: 5 additions & 3 deletions pkg/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,11 @@ func convertImage(in providers.Image) openapi.Image {
Spec: openapi.ImageSpec{
Virtualization: convertImageVirtualization(in.Virtualization),
Os: openapi.ImageOS{
Family: "Debian",
Name: "Ubuntu Server",
Version: "24.04",
Kernel: openapi.Linux,
Family: openapi.Debian,
Distro: openapi.Ubuntu,
Codename: ptr.To("noble"),
Version: "24.04",
},
SoftwareVersions: &openapi.SoftwareVersions{},
},
Expand Down
Loading

0 comments on commit 1cfab33

Please sign in to comment.