Skip to content

Commit

Permalink
remove depFile check, dependency file is not mandatory in Kubeless ru…
Browse files Browse the repository at this point in the history
…ntimes (#204)

* remove depFile check,  dependency file is not mandatory in Kubeless runtimes

* update package.json version to 0.9.3

Co-authored-by: Lorenzo Angelini <[email protected]>
  • Loading branch information
lorenzo-ange and Lorenzo Angelini authored Apr 29, 2020
1 parent dc1f35d commit 0b62c54
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,6 @@ function getRuntimeDepfile(runtime, configMap) {
depFile = r.depName;
}
});
if (!depFile) {
throw new Error(
`The runtime ${runtime} is not supported yet`
);
}
return depFile;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-kubeless",
"version": "0.9.2",
"version": "0.9.3",
"description": "This plugin enables support for Kubeless within the [Serverless Framework](https://github.com/serverless).",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 0b62c54

Please sign in to comment.