Skip to content

Commit

Permalink
Properly return promise when deleting a registry
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Turley <[email protected]>
  • Loading branch information
mturley committed Sep 26, 2024
1 parent 4ca3716 commit b4cc6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/routes/api/modelRegistries/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default async (fastify: KubeFastifyInstance): Promise<void> => {
const { modelRegistryName } = request.params;
try {
const modelRegistryNamespace = getModelRegistryNamespace(fastify);
deleteModelRegistryAndSecret(
return deleteModelRegistryAndSecret(
fastify,
modelRegistryName,
modelRegistryNamespace,
Expand Down

0 comments on commit b4cc6a0

Please sign in to comment.