diff --git a/fission/function.go b/fission/function.go index cbdbdba6..68d0b5ba 100644 --- a/fission/function.go +++ b/fission/function.go @@ -180,7 +180,7 @@ func fnCreate(c *cli.Context) error { }) if err != nil { if e, ok := err.(fission.Error); ok && e.Code == fission.ErrorNotFound { - fmt.Printf("Environment \"%v\" does not exist. Please create the environment before executing the function. \nFor example: `fission env create --name %v --image `\n", envName, envName) + fmt.Printf("Environment \"%v\" does not exist. Please create the environment before executing the function. \nFor example: `fission env create --name %v --envns %v --image `\n", envName, envName, envNamespace) } else { checkErr(err, "retrieve environment information") }