diff options
Diffstat (limited to 'internal/prompt')
| -rw-r--r-- | internal/prompt/cloud.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/prompt/cloud.go b/internal/prompt/cloud.go index ce3160f..0f69243 100644 --- a/internal/prompt/cloud.go +++ b/internal/prompt/cloud.go @@ -105,7 +105,7 @@ func buildKubernetesField(context, namespace string) string { if context == "" { return "" } - if !strings.HasPrefix(context, "qa") { + if !strings.Contains(context, "qa") { //visual warning when working in a productive region context = withColor("1;41", context) } |
