From cec4d9b7ee2e071d88853d1a4641e6f6e960e37a Mon Sep 17 00:00:00 2001 From: Keerthan Reddy Mala Date: Wed, 6 Sep 2023 19:58:41 -0700 Subject: [PATCH] ignore warnings while parsing the config --- pkg/providers/v1/aws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/providers/v1/aws.go b/pkg/providers/v1/aws.go index 0092aa9212..fbaee5f833 100644 --- a/pkg/providers/v1/aws.go +++ b/pkg/providers/v1/aws.go @@ -1321,7 +1321,7 @@ func readAWSCloudConfig(config io.Reader) (*CloudConfig, error) { var err error if config != nil { - err = gcfg.ReadInto(&cfg, config) + err = gcfg.FatalOnly(gcfg.ReadInto(&cfg, config)) if err != nil { return nil, err }