Skip to content

Commit 0cd55ab

Browse files
committed
feat(api): allow multiple oci configs in case multiple images use different registries
1 parent afd73a0 commit 0cd55ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/api.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ type MetalConfig struct {
1313
NTPServers []string `json:"ntp_servers,omitempty"`
1414
Partition string `json:"partition"`
1515
// Logging contains logging configurations passed to metal-hammer
16-
Logging *Logging `json:"logging,omitempty"`
17-
OciConfig *OciConfig `json:"oci_config,omitempty"`
16+
Logging *Logging `json:"logging,omitempty"`
17+
OciConfig []*OciConfig `json:"oci_config,omitempty"`
1818
}
1919

2020
type Logging struct {

0 commit comments

Comments
 (0)