Skip to content

Commit

Permalink
fix k8s enable network not working (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
neoaggelos authored Apr 9, 2024
1 parent 85b1756 commit becc812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/k8s/pkg/k8sd/types/cluster_config_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ type Network struct {
func (c Network) GetEnabled() bool { return getField(c.Enabled) }
func (c Network) GetPodCIDR() string { return getField(c.PodCIDR) }
func (c Network) GetServiceCIDR() string { return getField(c.ServiceCIDR) }
func (c Network) Empty() bool { return c.PodCIDR == nil && c.ServiceCIDR == nil }
func (c Network) Empty() bool { return c.Enabled == nil && c.PodCIDR == nil && c.ServiceCIDR == nil }

0 comments on commit becc812

Please sign in to comment.