jx2lee commented on code in PR #1650:
URL: https://github.com/apache/iceberg-go/pull/1650#discussion_r3732823666


##########
cmd/iceberg/main.go:
##########
@@ -358,7 +358,7 @@ func initCatalog(ctx context.Context, args Args) 
catalog.Catalog {
                err error
        )
 
-       switch catalog.Type(args.Catalog) {
+       switch catalog.Type(strings.ToLower(args.Catalog)) {

Review Comment:
   @zeroshade good point. fixed to lower in registry, and added test case!



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to