Skip to content

Commit

Permalink
fix(openfaas): fix cleanupEnvironment handler
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Oct 8, 2018
1 parent f62db2f commit b080d55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion garden-service/src/plugins/openfaas/openfaas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ export function gardenPlugin({ config }: { config: OpenFaasConfig }): GardenPlug

async cleanupEnvironment({ ctx }: CleanupEnvironmentParams) {
const ofGarden = await getOpenFaasGarden(ctx)
return ofGarden.actions.cleanupEnvironment({})
await ofGarden.actions.cleanupEnvironment({})
return {}
},
},
moduleActions: {
Expand Down

0 comments on commit b080d55

Please sign in to comment.