triggermesh/knative-lambda-runtime

tm deploy -f go failed

myrat92 opened this issue · 1 comments

When I try this in gke, I witnessed the following error:

# github.com/golang/dep/gps
pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:103:21: cannot use sv (type *semver.Version) as type semver.Version in field value
pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:122:16: invalid type assertion: c.(semver.Version) (non-interface type *semver.Constraints on left)
pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:149:4: undefined: semver.Constraint
error building image: error building stage: waiting for process to exit: exit status 2

The following is the commands I executed:

tm generate go
tm deploy -f go --registry-secret gcr --wait

@myrat92 thanks for filing the issue! The fix was merged into master, everything should work now. Do not hesitate to re-open this issue or create a new one if you face any problems.