From 19ae2f902b3f1bcefd02a42ec781da630c0d44ae Mon Sep 17 00:00:00 2001 From: Abdallah Abedraba Date: Wed, 16 Nov 2022 17:54:20 +0400 Subject: [PATCH] fix kusk ip error message (#975) --- cmd/kusk/cmd/ip.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kusk/cmd/ip.go b/cmd/kusk/cmd/ip.go index 8ded44ff6..74b02b84c 100644 --- a/cmd/kusk/cmd/ip.go +++ b/cmd/kusk/cmd/ip.go @@ -124,7 +124,7 @@ var ipCmd = &cobra.Command{ return } if ip == "" { - kuskui.PrintWarning("EnvoyFleet doesn't have an External IP address assigned yet. Try port-forwarding by running: \n\n %s", fmt.Sprintf("kubectl port-forward svc/%s -n %s 8080:%d", svc.Name, svc.Namespace, svc.Spec.Ports[0].Port)) + kuskui.PrintWarning(fmt.Sprintf("EnvoyFleet doesn't have an External IP address assigned yet. Try port-forwarding by running: \n\n kubectl port-forward svc/%s -n %s 8080:%d", svc.Name, svc.Namespace, svc.Spec.Ports[0].Port)) return } fmt.Println(ip)