zeroshade commented on code in PR #276:
URL: https://github.com/apache/iceberg-go/pull/276#discussion_r1932887872


##########
catalog/rest/rest.go:
##########
@@ -82,7 +82,7 @@ var (
 
 func init() {
        reg := catalog.RegistrarFunc(func(name string, p iceberg.Properties) 
(catalog.Catalog, error) {
-               return newCatalogFromProps(name, p.Get("uri", ""), p)
+               return newCatalogFromProps(context.Background(), name, 
p.Get("uri", ""), p)
        })

Review Comment:
   if we're going to use a context in all of these, then yea we should 
definitely change the definition of the registry and `LoadCatalog` to accept a 
context



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to