diff --git a/src/main/java/it/geosolutions/geoserver/rest/GeoServerRESTReader.java b/src/main/java/it/geosolutions/geoserver/rest/GeoServerRESTReader.java index 5aa06eff..7f8929e7 100644 --- a/src/main/java/it/geosolutions/geoserver/rest/GeoServerRESTReader.java +++ b/src/main/java/it/geosolutions/geoserver/rest/GeoServerRESTReader.java @@ -903,7 +903,7 @@ public boolean existsLayer(String workspace, String name, boolean quietOnNotFoun * @return boolean indicating if the Layer exists */ public boolean existsLayer(String workspace, String name){ - return existsLayerGroup(workspace, name, Util.DEFAULT_QUIET_ON_NOT_FOUND); + return existsLayer(workspace, name, Util.DEFAULT_QUIET_ON_NOT_FOUND); } //==========================================================================