diff --git a/cmd/kflex/ctx/ctx.go b/cmd/kflex/ctx/ctx.go index 65d26a3..7dd4fe2 100644 --- a/cmd/kflex/ctx/ctx.go +++ b/cmd/kflex/ctx/ctx.go @@ -92,8 +92,8 @@ func (c *CPCtx) Context(chattyStatus, failIfNone bool) { os.Exit(1) } } else { - fmt.Fprintf(os.Stderr, "control plane %s is of type 'host', cannot switch context\n", c.Name) - os.Exit(1) + fmt.Fprintf(os.Stderr, "control plane %s is of type 'host', using hosting cluster context\n", c.Name) + os.Exit(0) } } done <- true