Skip to content

Commit 15cfc06

Browse files
committed
fix
1 parent 0a78a3a commit 15cfc06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/java/org/apache/gravitino/metalake/MetalakeManager.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ public BaseMetalake alterMetalake(NameIdentifier ident, MetalakeChange... change
311311

312312
return builder.build();
313313
});
314-
METALAKE_CACHE.put(ident, newMetalakeWithResolvedProperties(baseMetalake));
314+
METALAKE_CACHE.put(
315+
baseMetalake.nameIdentifier(), newMetalakeWithResolvedProperties(baseMetalake));
315316
return baseMetalake;
316317
} catch (NoSuchEntityException ne) {
317318
LOG.warn("Metalake {} does not exist", ident, ne);

0 commit comments

Comments
 (0)