pkg/daemon/action/list.go
Method Server.List
has 5 return statements (exceeds 4 allowed). Open
Open
func (svr *Server) List(ctx context.Context, req *rpc.ListRequest) (*rpc.ListResponse, error) {
if svr.connect == nil || svr.connect.GetClientset() == nil {
return nil, fmt.Errorf("not connect to any cluster")
}
mapInterface := svr.connect.GetClientset().CoreV1().ConfigMaps(svr.connect.Namespace)