refactor: centralize iam runtime source helpers (#3828)

This commit is contained in:
Zhengchao An
2026-06-24 22:49:24 +08:00
committed by GitHub
parent a935854b32
commit ad6184b126
6 changed files with 68 additions and 25 deletions
+2 -2
View File
@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use rustfs_config::server_config::{Config as ServerConfig, get_global_server_config};
use rustfs_config::server_config::Config as ServerConfig;
pub(crate) fn current_server_config() -> Option<ServerConfig> {
get_global_server_config()
crate::runtime_sources::current_server_config()
}