From a70649a7dc7ccffd81f144340e41690a7bc3472c Mon Sep 17 00:00:00 2001 From: Mikita Iwanowski Date: Tue, 3 Dec 2024 07:33:38 +0100 Subject: [PATCH] fix: extract flag value (#4945) --- providers/cloudflare/provider/provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/cloudflare/provider/provider.go b/providers/cloudflare/provider/provider.go index 83a1396be..8d9ec270a 100644 --- a/providers/cloudflare/provider/provider.go +++ b/providers/cloudflare/provider/provider.go @@ -54,7 +54,7 @@ func (s *Service) ParseCLI(req *plugin.ParseCLIReq) (*plugin.ParseCLIRes, error) // token if x, ok := flags["token"]; ok { - conf.Options[connection.OPTION_API_TOKEN] = x.String() + conf.Options[connection.OPTION_API_TOKEN] = string(x.GetValue()) } asset := inventory.Asset{