some more fixes
This commit is contained in:
@ -7,6 +7,7 @@ import (
|
||||
"os"
|
||||
|
||||
pb "git.dws.rip/dubey/kat/api/v1alpha1"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"gopkg.in/yaml.v3"
|
||||
|
||||
"encoding/json"
|
||||
@ -64,6 +65,8 @@ func ParseClusterConfiguration(filePath string) (*pb.ClusterConfiguration, error
|
||||
return nil, fmt.Errorf("failed to unmarshal spec into proto: %w", err)
|
||||
}
|
||||
|
||||
spew.Dump(&config) // For debugging, remove in production
|
||||
|
||||
SetClusterConfigDefaults(&config)
|
||||
|
||||
if err := ValidateClusterConfiguration(&config); err != nil {
|
||||
|
Reference in New Issue
Block a user