Skip to content

Commit

Permalink
[#6414] improve(CLI): Add catalog command context CLI
Browse files Browse the repository at this point in the history
fix CatalogCommandHandler.
  • Loading branch information
Abyss-lord committed Feb 11, 2025
1 parent d397c86 commit 4c9ddfa
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public class CatalogCommandHandler extends CommandHandler {
private final CommandLine line;
private final String command;
private final CommandContext context;
private final String url;
private final FullName name;
private final String metalake;
private String catalog;
Expand All @@ -57,8 +56,7 @@ public CatalogCommandHandler(
this.command = command;
this.context = context;

this.url = getUrl(line);
this.context.setUrl(this.url);
this.context.setUrl(getUrl(line));
this.name = new FullName(line);
this.metalake = name.getMetalakeName();
}
Expand Down

0 comments on commit 4c9ddfa

Please sign in to comment.