vvraskin opened a new issue #380: Refactor cli to support go 1.11
URL: https://github.com/apache/incubator-openwhisk-cli/issues/380
 
 
   If you try to build cli using go 1.11 the following errors will prevent you 
from doing that:
   
   ```
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/action.go:929:
 Debug format %s has arg cmd of wrong type 
*github.com/apache/incubator-openwhisk-cli/vendor/github.com/spf13/cobra.Command
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/action.go:1016:
 Debug format %s reads arg #3, but call has 2 args
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/api.go:205:
 Debug format %s has arg cmd of wrong type 
*github.com/apache/incubator-openwhisk-cli/vendor/github.com/spf13/cobra.Command
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/api.go:653:
 Debug format %s reads arg #2, but call has 1 arg
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/api.go:692:
 Debug format %s reads arg #2, but call has 1 arg
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/api.go:987:
 Debug call has arguments but no formatting directives
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/api.go:995:
 Debug call has arguments but no formatting directives
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/sdk.go:89:
 Debug call needs 1 arg but has 2 args
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/trigger.go:84:
 Debug format %s has arg overwrite of wrong type bool
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/commands/util.go:78:
 Debug format %s has arg keyValueFormat of wrong type bool
   
.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli/tests/src/integration/integration_test.go:345:
 redundant and: wsk.Wskprops.APIHost != "" && wsk.Wskprops.APIHost != ""
   ```
   
   Once we decide to move to 1.11 these failures must be tackled.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to