Skip to content

Commit

Permalink
Merge branch 'CLI_V' into CLI_Vc
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmclean committed Nov 11, 2024
2 parents 16afac9 + 4dd7b72 commit f9a6ed6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public DeleteGroup(
}

/** Delete a group. */
@Override
public void handle() {
boolean deleted = false;

Expand All @@ -58,7 +59,7 @@ public void handle() {

try {
GravitinoClient client = buildClient(metalake);
deleted = client.removeUser(group);
deleted = client.removeGroup(group);
} catch (NoSuchMetalakeException err) {
System.err.println(ErrorMessages.UNKNOWN_METALAKE);
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public DeleteTag(String url, boolean ignoreVersions, boolean force, String metal
this.tag = tag;
}

/** Delete a catalog. */
/** Delete a tag. */
@Override
public void handle() {
boolean deleted = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public DeleteUser(
}

/** Delete a user. */
@Override
public void handle() {
boolean deleted = false;

Expand Down

0 comments on commit f9a6ed6

Please sign in to comment.