Skip to content

Commit

Permalink
Add created date to the ManagedOSVersion common metadata fields
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Mazzotti <[email protected]>
  • Loading branch information
anmazzotti committed Nov 28, 2024
1 parent 5e14e96 commit f34188e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v1beta1/managedosversion_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ func (m *ManagedOSVersion) MetadataObject(v interface{}) error {

// ImageCommons is the basic set of data every single image type has
type ImageCommons struct {
// DisplayName is the human readable name for this image. It should include flavor, release version and type ('OS' or 'ISO').
DisplayName string `json:"displayName,omitempty"`
// Created displays the image creation date in Unix time format (ex. 1732636343).
Created int `json:"created,omitempty"`
}

// ISO is the basic set of data to refer to an specific ISO
Expand Down

0 comments on commit f34188e

Please sign in to comment.