You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/06/06 09:00:20 UTC

[GitHub] lzbj commented on a change in pull request #278: Fixing JAR failure

lzbj commented on a change in pull request #278: Fixing JAR failure
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/278#discussion_r120299419
 
 

 ##########
 File path: parsers/manifest_parser.go
 ##########
 @@ -274,6 +274,9 @@ func (dm *YAMLParser) ComposeActions(mani *ManifestYAML, manipath string) (ar []
 			wskaction.Exec.Kind = action.Runtime
 		}
 
+                // we can specify the name of the action entry point using main
+                wskaction.Exec.Main = action.Main
 
 Review comment:
   what if the action does not have a main function, do we need a if test here, what do you think?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services