Skip to content

Commit

Permalink
fix: r2 buckets ids
Browse files Browse the repository at this point in the history
  • Loading branch information
slntopp committed Dec 4, 2024
1 parent fe1c797 commit 1a8b36c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion providers/cloudflare/resources/cloudflare.lr.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions providers/cloudflare/resources/r2.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ func (c *mqlCloudflareZone) r2() (*mqlCloudflareR2, error) {
return r2, nil
}

func (c *mqlCloudflareR2Bucket) id() (string, error) {
return c.GetName().Data, nil
}

func (c *mqlCloudflareR2) buckets() ([]any, error) {
conn := c.MqlRuntime.Connection.(*connection.CloudflareConnection)

Expand Down

0 comments on commit 1a8b36c

Please sign in to comment.