Environment warning message bugfix (#725)
This commit is contained in:
@@ -57,9 +57,7 @@ func envCreate(c *cli.Context) error {
|
|||||||
|
|
||||||
envList, err := client.EnvironmentList(envNamespace)
|
envList, err := client.EnvironmentList(envNamespace)
|
||||||
if err == nil && len(envList) > 0 {
|
if err == nil && len(envList) > 0 {
|
||||||
warn(fmt.Sprintf("%d environment(s) are present in this ns: %s. All these envs share"+
|
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)
|
||||||
" 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))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var poolsize int
|
var poolsize int
|
||||||
|
|||||||
Reference in New Issue
Block a user