From 6493485b68214fdb1ad666bd717a853a84296ccc Mon Sep 17 00:00:00 2001 From: Cavaughn Browne Date: Fri, 9 Feb 2024 20:24:26 +0000 Subject: [PATCH] remove cluster config validation from common validations --- cmd/eksctl-anywhere/cmd/validations.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/eksctl-anywhere/cmd/validations.go b/cmd/eksctl-anywhere/cmd/validations.go index bae736674a1b..3e642b2fa8fd 100644 --- a/cmd/eksctl-anywhere/cmd/validations.go +++ b/cmd/eksctl-anywhere/cmd/validations.go @@ -20,7 +20,8 @@ func commonValidation(ctx context.Context, clusterConfigFile string) (*v1alpha1. if !clusterConfigFileExist { return nil, fmt.Errorf("the cluster config file %s does not exist", clusterConfigFile) } - clusterConfig, err := v1alpha1.GetAndValidateClusterConfig(clusterConfigFile) + + clusterConfig, err := v1alpha1.GetClusterConfig(clusterConfigFile) if err != nil { return nil, fmt.Errorf("the cluster config file provided is invalid: %v", err) }