]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/rados: drop unnecessary ifdef 48826/head
authorJoao Eduardo Luis <joao@suse.com>
Thu, 10 Nov 2022 11:30:15 +0000 (11:30 +0000)
committerJoao Eduardo Luis <joao@suse.com>
Thu, 10 Nov 2022 16:12:34 +0000 (16:12 +0000)
Signed-off-by: Joao Eduardo Luis <joao@suse.com>
src/rgw/rgw_sal_rados.cc

index 212e6c175cb04d097ea9e85c2536c47c84212a9c..0a41f23c7afb148129c58a67c40d9f1c6352f7d6 100644 (file)
@@ -3192,7 +3192,6 @@ int RadosLuaManager::del_script(const DoutPrefixProvider* dpp, optional_yield y,
   return 0;
 }
 
-#ifdef WITH_RADOSGW_LUA_PACKAGES
 const std::string PACKAGE_LIST_OBJECT_NAME = "lua_package_allowlist";
 
 int RadosLuaManager::add_package(const DoutPrefixProvider *dpp, optional_yield y, const std::string& package_name)
@@ -3267,7 +3266,6 @@ int RadosLuaManager::list_packages(const DoutPrefixProvider *dpp, optional_yield
 
   return 0;
 }
-#endif
 
 int RadosOIDCProvider::store_url(const DoutPrefixProvider *dpp, const std::string& url, bool exclusive, optional_yield y)
 {