Skip to content

Commit

Permalink
fix: openfaas plugin bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vkorbes committed Feb 23, 2019
1 parent 253ea8b commit d7cf528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion garden-service/src/plugins/openfaas/openfaas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ async function getServiceStatus({ ctx, module, service }: GetServiceStatusParams
}
}

const container: any = findByName(deployment.spec.template.spec.containers, "hello-function")
const container: any = findByName(deployment.spec.template.spec.containers, service.name)
const version = findByName<any>(container.env, "GARDEN_VERSION").value
const status = await checkDeploymentStatus(api, namespace, deployment)

Expand Down

0 comments on commit d7cf528

Please sign in to comment.