From faa5d8cebc2da79773525d24a79f809a3bdbf826 Mon Sep 17 00:00:00 2001 From: Anas Khan <83116240+anxkhn@users.noreply.github.com> Date: Sat, 4 Jul 2026 18:30:24 +0530 Subject: [PATCH] Fix installRoot config path in ConfigurationLoader load() docstring. The load() docstring described the default system config layer as /etc/container/config/config.toml, but the path builder returns /etc/container/config.toml: the .installRoot case in configurationFile(in:of:) appends only "etc/container" and the config filename, without the "config" directory that .appRoot uses. The spurious segment also contradicted the sibling configurationFile(in:of:) docstring, which already documents .installRoot as /etc/container/config.toml. Drop the extra /config/ segment so the docstring matches the code. --- Sources/ContainerPersistence/ConfigurationLoader.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ContainerPersistence/ConfigurationLoader.swift b/Sources/ContainerPersistence/ConfigurationLoader.swift index 760fd46f2..10ecb9324 100644 --- a/Sources/ContainerPersistence/ConfigurationLoader.swift +++ b/Sources/ContainerPersistence/ConfigurationLoader.swift @@ -84,7 +84,7 @@ public enum ConfigurationLoader { /// /// Providers are consulted in the order given — values from earlier files override /// later ones. The default order is user config (`/config/config.toml`) - /// > system config (`/etc/container/config/config.toml`). + /// > system config (`/etc/container/config.toml`). /// /// An empty `configurationFiles` array falls back to `defaultConfigFiles()`. ///