This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-composer-python.git
The following commit(s) were added to refs/heads/master by this push:
new 12b2fa9 Fixed issue #17: now, both annotation and annotation-file
flags work properly on pydeploy (#20)
12b2fa9 is described below
commit 12b2fa9f456fe767d9f8b02ee06ded575d4e7255
Author: Pedro Escaleira <[email protected]>
AuthorDate: Thu Oct 5 01:11:02 2023 +0100
Fixed issue #17: now, both annotation and annotation-file flags work
properly on pydeploy (#20)
Signed-off-by: Pedro Escaleira <[email protected]>
---
src/pydeploy/__main__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pydeploy/__main__.py b/src/pydeploy/__main__.py
index 46016b2..548358a 100644
--- a/src/pydeploy/__main__.py
+++ b/src/pydeploy/__main__.py
@@ -74,7 +74,7 @@ def main():
if args.annotation is not None:
composition['annotations'].extend([keyValue(a[0]) for a in
args.annotation])
- if args.annotation is not None:
+ if args.annotation_file is not None:
composition['annotations'].extend([keyValueFromFile(a[0]) for a in
args.annotation_file])
except Exception as err: