Skip to content

Commit

Permalink
fix: extract flag value (#4945)
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp authored Dec 3, 2024
1 parent 33b559c commit a70649a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/cloudflare/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit a70649a

Please sign in to comment.