Author: remm Date: Thu Oct 11 14:21:49 2018 New Revision: 1843554 URL: http://svn.apache.org/viewvc?rev=1843554&view=rev Log: Drop check (I was testing with another config).
Modified: tomcat/trunk/java/org/apache/catalina/tribes/membership/cloud/KubernetesMembershipProvider.java Modified: tomcat/trunk/java/org/apache/catalina/tribes/membership/cloud/KubernetesMembershipProvider.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/membership/cloud/KubernetesMembershipProvider.java?rev=1843554&r1=1843553&r2=1843554&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/tribes/membership/cloud/KubernetesMembershipProvider.java (original) +++ tomcat/trunk/java/org/apache/catalina/tribes/membership/cloud/KubernetesMembershipProvider.java Thu Oct 11 14:21:49 2018 @@ -146,12 +146,6 @@ public class KubernetesMembershipProvide JSONParser parser = new JSONParser(reader); try { LinkedHashMap<String, Object> json = parser.object(); - // If there is a "kind", check it is "PodList" - Object kindObject = json.get("kind"); - if (kindObject != null && !"PodList".equals(kindObject)) { - log.error(sm.getString("kubernetesMembershipProvider.invalidPodsList", "not podList")); - return; - } Object itemsObject = json.get("items"); if (!(itemsObject instanceof List<?>)) { log.error(sm.getString("kubernetesMembershipProvider.invalidPodsList", "no items")); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org