Skip to content

Commit

Permalink
omitempty for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham2512 committed Nov 17, 2024
1 parent 6bd1bc8 commit bc4840c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/hardwaremanagement/v1alpha1/node_pools.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type NodePoolSpec struct {

//+operator-sdk:csv:customresourcedefinitions:type=spec
NodeGroup []NodeGroup `json:"nodeGroup"`
Extensions map[string]string `json:"extensions"`
Extensions map[string]string `json:"extensions,omitempty"`
}

type NodeGroup struct {
Expand Down

0 comments on commit bc4840c

Please sign in to comment.