Skip to content

Commit e2bbf59

Browse files
clean up comment
1 parent 1c761e3 commit e2bbf59

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

pkg/common/format.go

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ type ImageMetadata struct {
100100
Author string `json:"Author,omitempty"`
101101

102102
// Runtime configuration
103-
Env []string `json:"Env,omitempty"`
104-
Cmd []string `json:"Cmd,omitempty"`
105-
Entrypoint []string `json:"Entrypoint,omitempty"`
106-
User string `json:"User,omitempty"`
107-
WorkingDir string `json:"WorkingDir,omitempty"`
103+
Env []string `json:"Env,omitempty"`
104+
Cmd []string `json:"Cmd,omitempty"`
105+
Entrypoint []string `json:"Entrypoint,omitempty"`
106+
User string `json:"User,omitempty"`
107+
WorkingDir string `json:"WorkingDir,omitempty"`
108108
ExposedPorts map[string]struct{} `json:"ExposedPorts,omitempty"`
109109
Volumes map[string]struct{} `json:"Volumes,omitempty"`
110-
StopSignal string `json:"StopSignal,omitempty"`
110+
StopSignal string `json:"StopSignal,omitempty"`
111111

112112
// Layer information
113113
Layers []string `json:"Layers"` // Layer digests
@@ -123,9 +123,7 @@ type OCIStorageInfo struct {
123123
GzipIdxByLayer map[string]*GzipIndex // per-layer gzip decompression index
124124
ZstdIdxByLayer map[string]*ZstdIndex // per-layer zstd index (P1)
125125
DecompressedHashByLayer map[string]string // maps layer digest -> SHA256 hash of decompressed data
126-
127-
// Image metadata - embedded to avoid runtime lookups
128-
ImageMetadata *ImageMetadata `json:"ImageMetadata,omitempty"`
126+
ImageMetadata *ImageMetadata `json:"ImageMetadata,omitempty"` // Image metadata - embedded to avoid runtime lookups
129127
}
130128

131129
func (osi OCIStorageInfo) Type() string {

0 commit comments

Comments
 (0)