You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm investigation using faas-flow in my work environment. So far I was able to orchestrate several functions using Apply and Modify methods. My next step is to use context functionality (context.Set("data1-key", "data1-value")) to pass data between different Modify sections of pipeline based on readme info.
I am getting an exception when building faas-flow (faas build -f my-config.yml):
...Step 12/29 : RUN CGO_ENABLED=0 GOOS=linux go build --ldflags "-s -w" -a -installsuffix cgo -o handler . && go test $(go list ./... | grep -v /vendor/) -cover ---> Running in 5aa0fd96ab24 \# handler/function function/handler.go:36:10: context.Set undefined (type *openfaas.Context has no field or method Set)...
Hello,
I'm investigation using faas-flow in my work environment. So far I was able to orchestrate several functions using Apply and Modify methods. My next step is to use context functionality (
context.Set("data1-key", "data1-value")
) to pass data between different Modify sections of pipeline based on readme info.I am getting an exception when building faas-flow (
faas build -f my-config.yml
):...Step 12/29 : RUN CGO_ENABLED=0 GOOS=linux go build --ldflags "-s -w" -a -installsuffix cgo -o handler . && go test $(go list ./... | grep -v /vendor/) -cover ---> Running in 5aa0fd96ab24 \# handler/function function/handler.go:36:10: context.Set undefined (type *openfaas.Context has no field or method Set)...
Please provide an example (like in https://github.com/faasflow/faas-flow-example) where this functionality is working.
Thank you
The text was updated successfully, but these errors were encountered: