Skip to content

Commit

Permalink
Remove redundant flags for invoke
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis <[email protected]>
  • Loading branch information
alexellis committed Sep 5, 2017
1 parent a95a280 commit 118e3e9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions commands/invoke.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,10 @@ var (

func init() {
// Setup flags that are used by multiple commands (variables defined in faas.go)
invokeCmd.Flags().StringVar(&fprocess, "fprocess", "", "Fprocess to be run by the watchdog")
invokeCmd.Flags().StringVar(&gateway, "gateway", "http://localhost:8080", "Gateway URI")
invokeCmd.Flags().StringVar(&handler, "handler", "", "Directory with handler for function, e.g. handler.js")
invokeCmd.Flags().StringVar(&image, "image", "", "Docker image name to build")
invokeCmd.Flags().StringVar(&language, "lang", "node", "Programming language template")
invokeCmd.Flags().StringVar(&functionName, "name", "", "Name of the deployed function")

invokeCmd.Flags().StringVar(&language, "lang", "node", "Programming language template")
invokeCmd.Flags().StringVar(&contentType, "content-type", "text/plain", "The content-type HTTP header such as application/json")
invokeCmd.Flags().BoolVar(&verboseInvoke, "verbose", false, "Verbose output for the function list")

Expand Down

0 comments on commit 118e3e9

Please sign in to comment.