pkg/kt/command/preview/expose.go
Function exposeLocalService
has 5 return statements (exceeds 4 allowed). Open
Open
func exposeLocalService(serviceName, shadowPodName string, labels, annotations map[string]string) error {
envs := make(map[string]string)
_, podName, privateKeyPath, err := cluster.Ins().GetOrCreateShadow(shadowPodName, labels, annotations, envs,
opt.Get().Preview.Expose, map[int]string{})