Environment warning message bugfix (#725)

This commit is contained in:
Soam Vasani
2018-06-07 14:17:27 -07:00
committed by GitHub
parent 2ad07d68b6
commit 952b48bd68
+1 -3
View File
@@ -57,9 +57,7 @@ func envCreate(c *cli.Context) error {
envList, err := client.EnvironmentList(envNamespace)
if err == nil && len(envList) > 0 {
warn(fmt.Sprintf("%d environment(s) are present in this ns: %s. All these envs share"+
" the same service account token, with previleges to view secrets of all the functions referencing them. "+
"Envs can be created in different ns if isolation is needed", len(envList), envNamespace))
verbose(2, "%d environment(s) are present in the %s namespace. These environments are not isolated from each other; use separate namespaces if you need isolation.", len(envList), envNamespace)
}
var poolsize int