Rodric,

Thanks for the suggestion. I created my action using the commands you 
suggested. I'm assuming the difference between now and then is that the 
work-around referenced in 
https://github.com/apache/incubator-openwhisk/issues/3646 is now in place.

Regards,

Matt




On 5/21/18, 2:04 PM, "Rodric Rabbah" <[email protected]> wrote:

    Hey Matt
    
    how did you create the action?
    
    > cat t.swift
    struct Output: Codable {
                let greeting: String
                let extraValue: String
    }
    
    func main(completion: (Output?, Error?) -> Void) -> Void {
                let result = Output(greeting: "Hello OpenWhisk!", extraValue:
    "Snafu")
                completion(result, nil)
    }
    
    > wsk action create c t.swift --kind swift:4.1
    
    > wsk action invoke c -r
    {
        "extraValue": "Snafu",
        "greeting": "Hello OpenWhisk!"
    }
    
    
    -r
    
    Original message:
    
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.apache.org_thread.html_043846f41f3fa18679d99c76aa9cc41935e28f2e2384af5ff3f4a880-40-253Cdev.openwhisk.apache.org-253E&d=DwIBaQ&c=pLULRYW__RtkwsQUPxJVDGboCTdgji3AcHNJU0BpTJE&r=b9JZJoM3c9NcUZMc_c9p2Ok_D5pxaDnijOyU5BdxzJF0jC4vgbC2v6cr02b69it1&m=RjjxaRckBcfXei2WQBLZrnioqiE2Z1Mg7HU0bmLITwM&s=QJ-FB2oLhuigMaQCbtaEoRCJPuc8V7tWcN0VeqZleD8&e=
    

________________________________________________________

The information contained in this e-mail is confidential and/or proprietary to 
Capital One and/or its affiliates and may only be used solely in performance of 
work or services for Capital One. The information transmitted herewith is 
intended only for use by the individual or entity to which it is addressed. If 
the reader of this message is not the intended recipient, you are hereby 
notified that any review, retransmission, dissemination, distribution, copying 
or other use of, or taking of any action in reliance upon this information is 
strictly prohibited. If you have received this communication in error, please 
contact the sender and delete the material from your computer.

Reply via email to