Skip to content

Commit

Permalink
Merge pull request #29 from ewindisch/v0.1.7
Browse files Browse the repository at this point in the history
Fix for function list filters
  • Loading branch information
ewindisch authored Aug 28, 2019
2 parents 3b8bbb4 + 3a9cd4c commit 103e2b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions iopipe_cli/awslambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ def list_functions(region, quiet, filter_choice):
f["-x-iopipe-enabled"] = True
if all:
yield f
elif filter_choice == "installed":
if f["-x-iopipe-enabled"]:
yield f
continue
else:
if not f["-x-iopipe-enabled"]:
yield f
elif filter_choice == "installed" and f["-x-iopipe-enabled"]:
yield f
elif filter_choice == "not_installed" and not f["-x-iopipe-enabled"]:
yield f


class MultipleLayersException(Exception):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='iopipe-cli',
version='0.1.6',
version='0.1.7',
python_requires='>=3.3',
description="cli utility for managing and instrumenting serverless applications",
long_description=README,
Expand Down

0 comments on commit 103e2b8

Please sign in to comment.