Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/v1alpha1/cluster/cluster_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type NodeGroupConfig struct {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}
Expand Down
20 changes: 10 additions & 10 deletions api/v1alpha1/cluster/cluster_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestClusterConfig_Merge(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand All @@ -51,7 +51,7 @@ func TestClusterConfig_Merge(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand Down Expand Up @@ -80,7 +80,7 @@ func TestClusterConfig_Merge(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand All @@ -102,7 +102,7 @@ func TestClusterConfig_Merge(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand Down Expand Up @@ -193,7 +193,7 @@ func TestClusterConfig_Merge(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand All @@ -210,7 +210,7 @@ func TestClusterConfig_Merge(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand All @@ -234,7 +234,7 @@ func TestClusterConfig_Merge(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand All @@ -251,7 +251,7 @@ func TestClusterConfig_Merge(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand Down Expand Up @@ -333,7 +333,7 @@ func TestClusterConfig_Copy(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand All @@ -355,7 +355,7 @@ func TestClusterConfig_Copy(t *testing.T) {
CPU *int `yaml:"cpu,omitempty"`
Memory *int `yaml:"memory,omitempty"`
Image *string `yaml:"image,omitempty"`
Nodes map[string]NodeConfig `yaml:"nodes,omitempty"`
Nodes map[string]NodeConfig `yaml:"-"`
HostPorts []string `yaml:"hostports,omitempty"`
Volumes []string `yaml:"volumes,omitempty"`
}{
Expand Down
Loading