Skip to content

Commit

Permalink
Do not include empty NetworkConfig
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Mazzotti <andrea.mazzotti@suse.com>
  • Loading branch information
anmazzotti committed Oct 18, 2024
1 parent d922735 commit 96979cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/v1beta1/machineinventory_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type MachineInventorySpec struct {
// IPAddressPools is a list of IPAddressPool associated to this machine.
IPAddressPools map[string]*corev1.TypedLocalObjectReference `json:"ipAddressPools,omitempty"`
// NetworkConfig is the final NetworkConfig.
// +optional
Network NetworkConfig `json:"network,omitempty"`
}

Expand Down

0 comments on commit 96979cc

Please sign in to comment.